1 Reply Latest reply on Dec 6, 2008 5:40 AM by Newsgroup_User

    locale question

    absentepunctro
      i have the users' sign localized, in variables like usersSign1='Taurus'... usersSign12='Aries' (also for different languages. The XML i get from server returns the zodiacal sign's id (<sign>1</sign> for Taurus).

      How can i show the zodiacal name of the sign id i get?
      {user.sign} returns 1 for this example
      {resourceManager.getString('myResources','usersSign1')} returns taurus
      but {resourceManager.getString('myResources','usersSign{user.sign}')} returns null (probably i am writing it wrong)

      please help.
        • 1. Re: locale question
          Level 7

          "absentepunctro" <webforumsuser@macromedia.com> wrote in message
          news:ghdii1$mc5$1@forums.macromedia.com...
          >i have the users' sign localized, in variables like usersSign1='Taurus'...
          > usersSign12='Aries' (also for different languages. The XML i get from
          > server
          > returns the zodiacal sign's id (<sign>1</sign> for Taurus).
          >
          > How can i show the zodiacal name of the sign id i get?
          > {user.sign} returns 1 for this example
          > {resourceManager.getString('myResources','usersSign1')} returns taurus
          > but {resourceManager.getString('myResources','usersSign{user.sign}')}
          > returns
          > null (probably i am writing it wrong)
          >
          > please help.

          {resourceManager.getString('myResources','usersSign' + user.sign)}