Results 1 to 4 of 4

Thread: i18n Problem

  1. #1
    Join Date
    Oct 2007
    Posts
    3

    Default i18n Problem

    Hello All,
    First of all, my humblest apologies if this is the wrong section of the forum to post this problem.
    We are using JSP for our view technology.Our JSPs display English and Arabic
    text (i18n). The problem is that when two instances of application are running (English and Arabic) at the same time even from same or different machines, the orientation is disturbed (Menu moves to the right side when the locale is English which should be on the left side).
    Can some one please give me a few pointers where to start. The old developer left and now I am suppose to solve this problem.This is my first time with i18n .I have the following entry in xxx-servlet file.

    <bean id="themeResolver" class="org.springframework.web.servlet.theme.Sessi onThemeResolver" />

    Does this class take care of orientation and i18n related stuff ???

    An early response will be highly appreciated.

    Regards.
    Hasnain Javed Khan.

  2. #2
    Join Date
    Nov 2006
    Posts
    15

    Default

    You will need a locale interceptor to manipuate the i18n for you.

    http://www.springframework.org/docs/...localeresolver

    If i m not mistaken the SessionThemeResolver just resolve the themes for you not i18n.

  3. #3
    Join Date
    Oct 2007
    Posts
    3

    Default

    Repsected Sir,
    Thank you very much for your early response. I will go through the link that you provided.Just wanted to ask if this interceptor will take care of orientation (will the menu appear on the right side in case of arabic as opposed to appearing on the left side incase of english).
    Thanks in advance
    Kind Regards.
    Hasnain Javed Khan

  4. #4
    Join Date
    Nov 2006
    Posts
    15

    Default

    this i am not sure.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •