Announcement Announcement Module
Collapse
No announcement yet.
Spring REST - Handle locale change Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring REST - Handle locale change

    Hello,

    I would like to handle the locale argument in the url as in ?lang=en and the Accept-Language header as a fall back.

    Any tip ?

    Kind Regards,

    Stephane Eybert

    PS: I'm using Spring 3.2.9

  • #2
    You could probably use a LocaleChangeInterceptor.

    This question is probably a better candidate for StackOverflow, perhaps with the "spring-mvc" tag.
    Could you post your question there?
    The forums are moving to stackoverflow, a page explaining all this will be available there in a few days: http://spring.io/questions

    Comment


    • #3
      Thanks, I have posted on StackOverflow as well, but the url http://spring.io/questions gives a 404 I'm afraid.

      So the Spring forums will soon be gone ?

      Comment


      • #4
        Thanks for posting this question on StackOverflow.
        This link will be available in the next few days.

        Forums will be set to read-only mode and the Spring team will monitor StackOverflow tags.

        Comment


        • #5
          Hello,

          Here is the post http://stackoverflow.com/questions/2...-locale-change

          Kind Regards,

          Stephane Eybert

          Comment

          Working...
          X