Results 1 to 2 of 2
- 05-19-2007, 12:23 PM #1
Super Moderator
- Join Date
- Apr 2007
- Posts
- 30
- Rep Power
- 0
How do I identify that the underlying OS supports a certain language?
I have to display a dropdown to select a language to view the swing application in. The language options (English, Japanese, Simplified Chinese etc.) should be added to the dropdown only if the underlying OS has those language support. How do I identify that the underlying OS supports a certain language?
- 05-19-2007, 12:25 PM #2levent Guest
Try:
Java Code:Locale[] locales = Locale.getAvailableLocales();
Identifying Available Locales (The Java™ Tutorials > Internationalization > Setting the Locale)
Trail: Internationalization (The Java™ Tutorials)
Locale (Java 2 Platform SE v1.4.2)
Similar Threads
-
Renaming underlying directory in Java project
By Rodrigo Braz in forum EclipseReplies: 3Last Post: 03-08-2009, 08:25 AM -
Identify Client in Socket Client Server Application
By masadjie in forum NetworkingReplies: 1Last Post: 12-20-2007, 10:18 AM -
Blocks Language 0.1
By JavaBean in forum Java SoftwareReplies: 0Last Post: 09-23-2007, 12:21 AM -
identify a thread
By valery in forum Advanced JavaReplies: 1Last Post: 07-25-2007, 02:24 PM -
V language 0.004
By JavaBean in forum Java SoftwareReplies: 0Last Post: 07-19-2007, 04:18 PM
Bookmarks