Re: Localization problem, hello world too [solved]
Re: Localization problem, hello world too [solved]
- Subject: Re: Localization problem, hello world too [solved]
- From: Anjo Krank <email@hidden>
- Date: Tue, 2 Dec 2008 08:04:30 +0100
Am 02.12.2008 um 07:46 schrieb phil:
er.extensions.ERXApplication.fixCachingEnabled=false
In your properties file and see if that doesn't get the server to
respect the browser defaults. I say a partial fix, because setting
the language in the session does not change the component
returned. It always returns the browser default... which may not
be what you want. Without that property set, ERXApplication seems
to be setting the component used in the following seemingly
arbitrary order:
I didn't add this property just for the heck of it... see the javadoc.
And I'm not really sure I understand the problem? It it that you have
a French.lproj/Main.wo and a English.lproj/Main.wo and it doesn't pick
it up when you have your browser set to prefer french?
Try printing app._expectedLanguages(). Try adding your languages with
app._addToExceptedLanguages() and see if this fixes it. Post a bug on
WODeployedBundle if it does. If it doesn't, rewrite the method so it
re-orders the nsarray so that it still has all items from
_expectedLanguages, but the ones from nsarray come first and in order
and post a patch.
Cheers, Anjo
_______________________________________________
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