2008/5/5 Amedeo Mantica <[EMAIL PROTECTED]>:

> Hello,
>
> I switched from Xcode to Ecplise few monts ago...
>
> now I have a problem localizing strings...
>
> I have put my Localizable.strings files, inside the folders LANGUAGE.lproj
> inside the resources folder...
>
> If I use WXLocalizedString it works fine
>
> If I use ERXLocalizedString it doenn't work


> if I use INLocalizedString (is a mine framework that i created in Xcode
> time for localizing strings, images, rollovers, database fields, etc...) i
> get "Localized String not found"
>
> if I use <wo:localized.... it doen't work


Probably bacause localized is a shortcut to ERXlocalizedString...


>
>
> Can u help me??
>

Have first a look to
http://en.wikibooks.org/wiki/Programming:WebObjects/WOnder/ERXLocalizer

Then check if you Session.java is a subclass of ERXSession, then check your
Properties file if there are these keys:

er.extensions.ERXLocalizer.defaultLanguage=English
 
er.extensions.ERXLocalizer.fileNamesToWatch=("Localizable.strings","ValidationTemplate.strings")
// At least these two
 er.extensions.ERXLocalizer.availableLanguages=(English,German) // At
least these two
 er.extensions.ERXLocalizer.frameworkSearchPath=(app,ERDirectToWeb,ERExtensions)


I usually set ERXSession.setLanguage(String) with the language requested by
the browser (parsing headers) at the first loop (Req-Resp)

Then to change language simply set the language to the choose one.


>
> Regards
> Amedeo
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com
>
> This email sent to [EMAIL PROTECTED]
>



-- 
Daniele Corti
AIM: S0CR4TE5
Messenger: [EMAIL PROTECTED]

--
Computers are like air conditioners -- they stop working properly if you
open
WINDOWS

-- 
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to