Is there a way to determine which language/locale is being displayed to the user? For example I have 3 language files:
language.properties (default english)
language_fr.properties (french)
language_dk.properties (german)
The browser locale is set to "es" (spanish) so it defaults to language.properties file. How can I determine which language/properties file is being used by Spring? LocaleResolver picks up the Accept-Header or uses cookies to determine which locale the browser is requesting but not the locale/language the server will use.
Is there a way to determine which language is actually being used?


Reply With Quote
