• 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
A problem with localization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A problem with localization


  • Subject: A problem with localization
  • From: Amedeo Mantica <email@hidden>
  • Date: Sat, 8 Oct 2005 18:59:39 +0200

I have a small problem...

My web App is localized in three languages: Italian, German, and English...
I choosed the apple standard way to localize the app, so i have localized my components, i hace created a component containing these three actions:

    public WOComponent setLangITA()
    {
        Object[] tempArray = new Object[]{"Italian"};
        NSArray languages = new NSArray(tempArray);
        session().setLanguages(languages);
        WOComponent nextPage = context().page();
        return nextPage;
    }

    public WOComponent setLangENG()
    {
        Object[] tempArray = new Object[]{"English"};
        NSArray languages = new NSArray(tempArray);
        session().setLanguages(languages);
        WOComponent nextPage = context().page();
        return nextPage;
    }

    public WOComponent setLangGER()
    {
        Object[] tempArray = new Object[]{"German"};
        NSArray languages = new NSArray(tempArray);
        session().setLanguages(languages);
        WOComponent nextPage = context().page();
        return nextPage;
    }

these methods change the language in the session but there is a trouble... When I click an HyperLink bount to one of these actions the page reloads unchanged, to get the localized page i must navigate to another page. There is a way to force the component reloading?

Thanks
Amedeo
 _______________________________________________
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: A problem with localization
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Weird Text Display Dev vs. Dep ???
  • Next by Date: Re: A problem with localization
  • Previous by thread: SOLVED Re: Weird Text Display Dev vs. Dep ???
  • Next by thread: Re: A problem with localization
  • Index(es):
    • Date
    • Thread