• 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, hello world too [solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Localization problem, hello world too [solved]
      • From: Anjo Krank <email@hidden>
References: 
 >Re: Localization problem, hello world too (From: phil <email@hidden>)
 >Re: Localization problem, hello world too (From: Ramsey Lee Gurley <email@hidden>)
 >Re: Localization problem, hello world too [solved] (From: phil <email@hidden>)

  • Prev by Date: Re: Localization problem, hello world too [solved]
  • Next by Date: Re: Localization problem, hello world too [solved]
  • Previous by thread: Re: Localization problem, hello world too [solved]
  • Next by thread: Re: Localization problem, hello world too [solved]
  • Index(es):
    • Date
    • Thread