Localization
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