Announcement Announcement Module
No announcement yet.
i18n works using CookieLocaleResolver Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • i18n works using CookieLocaleResolver

    Dear Spring members,

    I have been working with spring for over a year now. I recently started researching on Localization. To be honest with you, I could not find a concrete example that shows you step by step how to setup the basic stuff to have your application support different languages .

    We would like to know how to set it up using SessionLocaleResolver.
    If you define SessionLocaleResolver in your XML file, do you need still to write a java code to change the locale in the request or the localeResolver would do that automatically.

    Another common question, when you set up your urlMapping with the interceptor do you have to specify a list of URL "mappings" or it can work without it.

    Please can someone provide us with a concrete example step by step on how to set it up using SessionLocaleResolver.

    This would be so much appreciated.

    Thank you very much for your time.