Announcement Announcement Module
Collapse
No announcement yet.
change images and/or css based on locale for i18n issues Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • change images and/or css based on locale for i18n issues

    I use spring MVC and I have arranged to change messages based on locale in JSP forms, using ReloadableResourceBundleMessageSource and message tag of spring forms taglib. But what I want is to change images based on locale. Images are in CSS files and IMG tags in JSP.

    What are the options for that? I know about themes in spring but I do not know how to attach them to LocaleChangeInterceptor.

    Any Ideas will be greatly appreciated.

    Thank you in advance.

  • #2
    I suggest to read the theme chapter of the reference guide.

    Basically setup themes and make a ThemeResolver which uses the current selected locale to decide which theme to use.

    Comment


    • #3
      Thank you, I'll try that.

      Comment

      Working...
      X