de.betabeans.scroogexhtml.translator
Class Language
java.lang.Object
de.betabeans.scroogexhtml.translator.Language
public final class Language
- extends java.lang.Object
A class which converts a Windows LCID language code to the corresponding ISO
639-1 two letter code.
The complete ISO 639 code list contains 136 languages, not all languages are
included in this class.
Important: language codes may change in the future.
References:
- List of Locale ID (LCID) Values as Assigned by Microsoft
http://www.microsoft.com/globaldev/reference/lcid-all.mspx
- Language Codes: ISO 639, Microsoft and Macintosh a draft list of language
code correspondences between ISO codes, Microsoft codes, and Macintosh codes
http://www.unicode.org/onlinedat/languages.html
- Code for the Representation of the Names of Languages. From ISO 639,
revised 1989. http://www.oasis-open.org/cover/iso639a.html
- ISO 639 http://www.rtt.org/ISO/TC37/SC2/WG1/639
Method Summary |
static java.lang.String |
getLanguageCode(int langID)
Returns the language code value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getLanguageCode
public static java.lang.String getLanguageCode(int langID)
- Returns the language code value.
- Parameters:
langID
- int
- Returns:
- String
Copyright (c) 1998-2006 BetaSoft Michael Justin. All Rights Reserved.