×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2013
    Posts
    20

    Change the localization & rtl at runtme using Lwuit 1.5

    Hi
    I'm developing a mobile app using Lwuit 1.5
    & the app should contains 3 languages (Arabic, English and French)
    & I add an options form which it enable the user to choose between the 3 language
    and I add the next code to a save command:
    Resources res = Resources.open("/lan.res");

    local= res.getL10N("lan","en");
    UIManager.getInstance().getLookAndFeel().setRTL(false);

    (this code is for the English option & I add a resemblance code for the Arabic & French option)
    but it doesn't work
    So can anyone help me with this please
    & Thanks in advance

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    608

    Re: Change the localization & rtl at runtme using Lwuit 1.5

    what exactly doesnt work?
    are you assigning local as the current to the UIManager?

  3. #3
    Registered User
    Join Date
    Jun 2013
    Posts
    20

    Re: Change the localization & rtl at runtme using Lwuit 1.5

    No local is a hashtable
    But thanks I found the solution it is simply that I had to recreate the form in order that it will appear in an other language

Similar Threads

  1. [extracted] Location+localization problem, LWUIT
    By jankkok in forum Mobile Java General
    Replies: 4
    Last Post: 2012-12-14, 06:30
  2. LWUIT and arabic localization
    By the_king2008 in forum Mobile Java Tools & SDKs
    Replies: 8
    Last Post: 2011-08-08, 20:51
  3. Help : LWUIT Localization
    By nilanchalapanigrahy in forum Mobile Java General
    Replies: 9
    Last Post: 2011-08-08, 20:51
  4. problem with LWUIT localization
    By thambirajan in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2010-10-19, 18:49
  5. Help for Localization in LWUIT..
    By nilanchalapanigrahy in forum Mobile Java General
    Replies: 4
    Last Post: 2010-06-25, 07:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •