• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ERXLocalizer default language
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERXLocalizer default language


  • Subject: ERXLocalizer default language
  • From: WebObjects TORAcom <email@hidden>
  • Date: Thu, 02 Aug 2012 13:56:16 -0500

Hi list,

I am testing ERXLocalizer, it seems very good.

I want Spanish as the default language for my app, so I set the Properties file like this:

er.extensions.ERXLocalizer.defaultLanguage=Spanish
er.extensions.ERXLocalizer.fileNamesToWatch=("Localizable.strings","ValidationTemplate.strings")
er.extensions.ERXLocalizer.availableLanguages=(Spanish, English)
er.extensions.ERXLocalizer.frameworkSearchPath=(app,ERDirectToWeb,ERExtensions)

I also have the Spanish.lproj and English.lproj folders inside Resources directory and a Localizable.strings inside each one.

This is the content of the English.lproj/Localizable.strings file:

{
  "login_username" = "Username";
  "login_password" = "Password";
}

This is the content of the Spanish.lproj/Localizable.strings file:

{
  "login_username" = "Usuario";
  "login_password" = "ContraseƱa";
}


I am testing with one wostring configured like this:
wostrUserNameLabel : WOString {
  value = session.localizer.login_username;
}


I think every thing is well configured but when I run the App always shows the english label.

Am I missing something?

Thanks in advance.

Miguel Torres.




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ERXLocalizer default language
      • From: ISHIMOTO Ken <email@hidden>
    • Re: ERXLocalizer default language
      • From: Ramsey Gurley <email@hidden>
  • Prev by Date: Re: WO Deploy for redundancy and IP failover
  • Next by Date: Re: ERXLocalizer default language
  • Previous by thread: Re: AjaxProxy doing page reload?
  • Next by thread: Re: ERXLocalizer default language
  • Index(es):
    • Date
    • Thread