Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2006

Tip: Looking for answers? Try searching our database.

application default language

Thread view: 
smarto59@hotmail.com - 06 Feb 2006 16:01 GMT
Im developing an application that accepts arabic string in
a text field. just I want to customize the application
to set the default language in arabic means the user
doesn't have to converts the language or the direction(right-to-left)
of the text from the keyboard. he just can insert the arabic string
directly.

thanks.
Raymond DeCampo - 06 Feb 2006 18:09 GMT
> Im developing an application that accepts arabic string in
> a text field. just I want to customize the application
[quoted text clipped - 4 lines]
>
> thanks.

Take a look at the java.util.Locale class.

HTH,
Ray

Signature

This signature intentionally left blank.

smarto59@hotmail.com - 06 Feb 2006 20:16 GMT
Im glad to hear from you.
in fact I've tried Locale class already and this is a piece of my code:

         Locale locale = new Locale("ar","SA");
         Locale.setDefault(locale);
but still when i type a text in the text field it appears in English


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.