×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    179

    LWUIT and arabic localization

    Dear all,

    I'm using LWUIT to create my application and it should be in both language Arabic & English i used the Them Creator tool to create the localization resource file *.res with Tahoma font,then i used it in my application as follow :

    Code:
                Resources rl = null;
                rl = Resources.open("/localization.res");
                UIManager.getInstance().setResourceBundle(rl.getL10N("Localization1", "ar"));
    
                ... 
    
                String str = UIManager.getInstance().localize(key, defaultValue);
    
                final Form form = new Form(str);
    the problem is that nothing appear on the form title, and the same happend for Commands but the same Arabic text appear in other Components like Label, Dialog, Button, ...

    i checked that the Font is not null and also the String (str) is not null

    what i can do to solve this problem ?

    thank in advance

  2. #2
    Super Contributor
    Join Date
    May 2008
    Location
    Helsinki, Finland
    Posts
    1,100

    Re: LWUIT and arabic localization

    Hello the_king2008,

    This thread might help you out;

    http://forums.java.net/jive/thread.j...ssageID=340034


    Let me know how it goes, ok?

    Best Regards,
    [FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
    Technical Support
    +358 40 8019330
    [email]marko.lumivuori@nokia.com[/email][/I][/FONT]

  3. #3
    Registered User
    Join Date
    Aug 2011
    Posts
    9

    Unhappy Re: LWUIT and arabic localization

    Hello the_king2008

    im facing the same problem , would u tell me if u finally found a solution for this issue or not.
    regard

  4. #4
    Registered User
    Join Date
    Aug 2011
    Posts
    9

    Re: LWUIT and arabic localization

    dear join
    whould u give me some hints regarding solving this issue...im stuck here , dnt knw hw to solve this problem

    thank you

  5. #5
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: LWUIT and arabic localization

    @YAVANIA , You have already got replies here http://www.developer.nokia.com/Commu...T-Localization on How to use ResourceBundle for localization in Java ME

    Regards
    Gopal

  6. #6
    Registered User
    Join Date
    Aug 2011
    Posts
    9

    Re: LWUIT and arabic localization

    but i still can not localize commands and titles for persian language..let me know if u can help me regarding this

  7. #7
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: LWUIT and arabic localization

    Quote Originally Posted by YAVANIA View Post
    but i still can not localize commands and titles for persian language..let me know if u can help me regarding this
    Yes, lets try to solve the issue, but please avoid duplication and pls continue the discussion here http://www.developer.nokia.com/Commu...487#post855487

    Regards
    Gopal

  8. #8
    Registered User
    Join Date
    Aug 2011
    Posts
    9

    Re: LWUIT and arabic localization

    dear friends
    tanx for ur concern , i finally solved this problem , thank you very much for all ur supports and care

  9. #9
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: LWUIT and arabic localization

    Quote Originally Posted by YAVANIA View Post
    dear friends
    tanx for ur concern , i finally solved this problem , thank you very much for all ur supports and care
    Thats good to know. If you dont mind pls share : what was the problem and how you solved it.

    Regards
    Gopal

Posting Permissions

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