Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8663613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:01:51+00:00 2026-06-12T17:01:51+00:00

I am designing an application in J2me, where I just have to give interface

  • 0

I am designing an application in J2me, where I just have to give interface in a Particular language, say Urdu. What I am doing is using Unicode characters to print labels, like “Welcome” into my language, and its displaying the right way.
As this application is supposed to run on different mobile models, I just want to know that if it’s programmatic-ally possible to check that if a particular mobile running my application does support unicode of my language? because if it doesn’t then it shall show labels in default English language. I didn’t code it yet except the conversion of English Alphabets to my language characters, I just want to know and if possible to find a way to perform this check. Thanks in advance 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T17:01:52+00:00Added an answer on June 12, 2026 at 5:01 pm

    There is a System property where you can read the current language selected on the handset.

    String locale = System.getProperty("microedition.locale");
    

    The first two letters identify the language while the last two letters identify the country. For example, "en-US" represents English on United States of America, while "pt-BR" represents Portuguese on Brazil.
    A good thing is to have all your GUI Strings loaded based on the current language.
    Lets say you store all those Strings in a single array and initialize it like this:

    String messages [] = null;
    
    if (locale.startsWith("pt")) {
        messages = new String [] {
            "Novo Jogo",
            "Configurações",
            "Ajuda"
        };
    } else { // default language is English
        messages = new String [] {
            "New Game",
            "Settings",
            "Help"
        };
    }
    

    Then you define some constants to identify each index.

    static final int MSG_NEW_GAME = 0;
    static final int MSG_SETTINGS = 1;
    static final int MSG_HELP = 2;
    

    And use them like this (where menuList is an instance of List):

    menuList.append(messages[MSG_NEW_GAME], null);
    menuList.append(messages[MSG_SETTINGS], null);
    menuList.append(messages[MSG_HELPS], null);
    

    With this you have support for two languages in your application. The more cases you have for messages initiation based on locale, the better for your end user.

    As seen at http://smallandadaptive.blogspot.com.br/2008/12/internationalization-or-just-i18n-count.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm designing an application which will have a network interface for feeding out large
I was just designing this application and made many .aspx files which have my
I am designing an application which will have a heavy reliance on searching using
I'm designing my application data model and I have a doubt, whether to use
Say you’re designing an application that, by requirement, allows a user the flexibility of
I am designing an application where I don't want the user to have to
I'm designing an application with UML. I have to represent video and image as
I have been tasked with designing an application for tracking inventory on a mobile
I'm designing an application that processes RSS feeds using MongoDB. Currently my collections are
When designing my application how many controllers should I have? Is it good practice

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.