Internationalization: set default language

Cantor, Scott cantor.2 at osu.edu
Fri May 20 13:45:11 UTC 2022


It was my impression that the "fallback language" isn't "what to use if a message doesn't exist in a given language" but "which language to use if no language is set/derived", and I'm not sure that even affects messages (I don't recall, I was thinking it was just for metadata UI extension content, that sort of stuff).

The fallback for messages is to the unmarked/non-lang-specific file (i.e. messages.properties). There isn't a built-in English file in fact, that's just the base file, that's the sense in which it's the fallback.

Nothing's changed in this respect other than moving the default message files inside the jar in 4.1, though of course Spring upgrades could have changed something inadvertently. Unlikely though.

-- Scott




More information about the users mailing list