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 :
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, ...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);
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



Reply With Quote




