• 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
Languages for WOResourceManager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Languages for WOResourceManager


  • Subject: Languages for WOResourceManager
  • From: Pascal Robert <email@hidden>
  • Date: Thu, 07 Jul 2011 22:26:32 -0400

I'm adding an action to a WO app that is 100% DirectAction. That app have its own subclass of WORequest, and when someone switch languages, we do:

  ((OSRequest) _context.request()).setBrowserLanguages(val);

Works fine for the localized strings (again, the app have its own method for localization, no Wonder in there). But for images, they keep the "old" language until I call another page. For example, if I switch to English, the strings are find, but the images stays on the French version. If I move to another page, now everything is ok.

So I guess its WOResourceManager who didn't pick up the language change. Which method or array WOResourceManager calls to find localized images when using plain old WOImage?

 _______________________________________________
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: Languages for WOResourceManager
      • From: Ramsey Gurley <email@hidden>
  • Prev by Date: Re: Question about 1-to-many relationship
  • Next by Date: Re: Question about 1-to-many relationship
  • Previous by thread: Re: woswitchcomponents
  • Next by thread: Re: Languages for WOResourceManager
  • Index(es):
    • Date
    • Thread