Hi With the new Integration wonder you don't have to set the 'er.extensions.ERXLocalizer.frameworkSearchPath' anymore.
wonder will pick up every Framework that has Localization inside. This was a pain because after every change of the ClassPath you had to change this Properties. Remove it and it will work. On 2012/08/02, at 20:56, WebObjects TORAcom <w...@toracom.net> wrote: > 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 (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com > > This email sent to k...@ksroom.com Thank you Ken Ishimoto -------------------------------------------------------- K's ROOM -------------------------------------------------------- [E-Mail] <k...@ksroom.com> [iChat:] <ibase_...@mac.com> [HP] http://www.ksroom.com/ _____________________________________________________________________ This e-mail has not been scanned for viruses because it was written on an Mac, and there are NO Viruses on an Apple Computer. For further information visit http://www.apple.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com