• 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
Localization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Localization


  • Subject: Localization
  • From: Michael Gargano <email@hidden>
  • Date: Tue, 11 Jan 2011 08:38:13 -0800
  • Acceptlanguage: en-US
  • Thread-topic: Localization

Hi all,

I'm having a issue with string localization

I have English.lproj and Spanish.lproj folders in my Resources directory with a Localizable.strings file in each (both UTF-8).  The files look like this....

{
"loginname" = {
"test" = "Test";
};
}

{
"loginname" = {
"test" = "Prueba";
};
}

Now in my code I'm calling the following...

ERXLocalizer.currentLocalizer().localizedStringForKey("loginname.test");

I also tried... 

ERXStringUtilities.localizedStringForKey("loginname.test");

I get nothing but nulls back.  If I get rid of the dictionary, it works fine.  According to the JavaDoc in ERXLocalizer it appears that this should work.  Suggestions?

Thanks.
-Mike

 _______________________________________________
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: Localization
      • From: Michael Gargano <email@hidden>
  • Prev by Date: Re: Subclassing a component
  • Next by Date: Re: WOXMLDecoder Problem
  • Previous by thread: [MEET] Toronto Cocoaheads / tacow - January 18
  • Next by thread: Re: Localization
  • Index(es):
    • Date
    • Thread