×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Dec 2012
    Posts
    6

    Question Problem in multilanguage support in j2me-LWUIT

    I am beginner in mobile app development. I’m currently working on providing multilingual support to my application. This support need to be given whether the mobile support that particular language or not.
    I have found the method of uploading the font in resource bundle and use that as a font for my label. The problem is, my string is getting cut at the top. For example, I’m working on Tamil support using Bamini font. The full stop and the marks above the characters are getting cut.
    Kindly help to sort it out.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: Problem in multilanguage support in j2me-LWUIT

    Quote Originally Posted by everlastingmani View Post
    I am beginner in mobile app development. I’m currently working on providing multilingual support to my application. This support need to be given whether the mobile support that particular language or not.
    I have found the method of uploading the font in resource bundle and use that as a font for my label. The problem is, my string is getting cut at the top. For example, I’m working on Tamil support using Bamini font. The full stop and the marks above the characters are getting cut.
    Kindly help to sort it out.
    Reduce the size of the font or height of the font strip
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  3. #3
    Registered User
    Join Date
    Dec 2012
    Posts
    6

    Re: Problem in multilanguage support in j2me-LWUIT

    Quote Originally Posted by im2amit View Post
    Reduce the size of the font or height of the font strip
    I reduced the font height and size. but still facing that issues. how to reduce the height of the font strip. kindly explain. Thanks.

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: Problem in multilanguage support in j2me-LWUIT

    provide all details - how you added your own font to LWUIT - then we can can suggest more options.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  5. #5
    Registered User
    Join Date
    Dec 2012
    Posts
    6

    Re: Problem in multilanguage support in j2me-LWUIT

    Quote Originally Posted by im2amit View Post
    provide all details - how you added your own font to LWUIT - then we can can suggest more options.
    Resouces r = Resources.open(getClass().getResourceAsStream("/simpleTheme.res"));

    Font font = r.getFont ("Bamini");
    r.getTheme("Android Theme").put("font",font);
    r.getTheme("Android Theme").put("sel#font",font);
    r.getTheme("Android Theme").put("Title.font", font);
    UIManager.getInstance().setThemeProps(r.getTheme("Theme 1"));

    The above way, I used the tamil font(Bamini.ttf). When I tried to display the tamil characters with dot above, the dot is not displayed in that character.
    Kindly help in this.

  6. #6
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,105
    I would utilise dedicated LWUIT support and/or discussion boards for this, because they are more aware which font resource might be suitable for your language.

    Here at Nokia Discussion board, all I can ask: Do you really need LWUIT? The built-in multilingual support of LCDUI is quite mature now.

Similar Threads

  1. Loading XML for multilanguage support
    By jcospina in forum Nokia Asha Web Apps
    Replies: 3
    Last Post: 2011-09-16, 20:43
  2. Replies: 10
    Last Post: 2011-07-29, 06:09
  3. MultiLanguage Support for Softkeys
    By joseph.m in forum Symbian
    Replies: 13
    Last Post: 2009-01-16, 10:27
  4. Multilanguage support / S60 3rd
    By kompotFX in forum Symbian
    Replies: 3
    Last Post: 2006-08-04, 12:11

Posting Permissions

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