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

Re: Localization problem


  • Subject: Re: Localization problem
  • From: Xavier Destombes <email@hidden>
  • Date: Fri, 28 Nov 2008 17:16:34 +0100

You may search the list for other Localizer tips I think there has been some thread related to this this pas couple month.
Maybe someone with more knowledge regarding ERXLocalizer could provide some tips.



Hi Xavier,

I have the following in Properties:
er.extensions.ERXLocalizer.frameworkSearchPath = (app, ERExtensions)
er.extensions.ERXLocalizer.availableLanguages = (French, German, English)
er.extensions.ERXLocalizer.defaultLanguage = French
er.extensions.ERXLocalizer.fileNamesToWatch = ("Localizable.strings", "Nonlocalized.strings")


This worked fine before, but maybe there is something wrong, I'll try to replace the relevant fields with
your values, in case it may help.


Regards

PHiLippe

Xavier Destombes a écrit :
Hello Philippe,

I'm not sure about your issue, but do you have the correct properties setup in your project:
er.extensions.ERXLocalizer.defaultLanguage = German
er .extensions .ERXLocalizer .fileNamesToWatch =("Localizable.strings","ValidationTemplate.strings")
er.extensions.ERXLocalizer.availableLanguages=(German, French, English)
er.extensions.ERXLocalizer.frameworkSearchPath=(app)


Xavier


Hi

I'm in the lasts steps to port an XCode WO 5.3.3 application to Eclipse.
I also updated the wonder framework (not the latest, wonder-5.0.0.8273)


I'm able to compile the application and run it  from eclipse or
deployed. The only thing that is still a problem is
translation/localization.

This app is available in three languages: French/German/English. We use
a mix of String/components localization with three directories:
French.lproj / German.lproj / English.lproj which contains all a
Localizable.strings and a bunch of localized components .wo files.
This worked for years. (with XCode)


Now the application only uses German. If I delete the
.woa/Content/Ressources/German.lproj it then only uses English and if I
delete English.lproj it then uses French. So I conclude that all the
files are at the right place, with right permissions.
We both detect the language from the browser and permit users to force
it to one of their choice.


I verified in the Session that the localizer used is the right one:
2008-11-28 10:43:55 CET] <WorkerThread0> Session language: French
[2008-11-28 10:43:55 CET] <WorkerThread0> Session localizer:
<er.extensions.localization.ERXLocalizer French>

so the choosen language seems successfully set. But the wo files used
are alway those from the German.lproj ???


Does someone have an idea of what I'm missing?

Best regards

PHiLippe

_______________________________________________
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






_______________________________________________ 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
References: 
 >Localization problem (From: phil <email@hidden>)
 >Re: Localization problem (From: Xavier Destombes <email@hidden>)
 >Re: Localization problem (From: phil <email@hidden>)

  • Prev by Date: Re: Localization problem
  • Next by Date: Re: Localization problem
  • Previous by thread: Re: Localization problem
  • Next by thread: Re: Localization problem
  • Index(es):
    • Date
    • Thread