Convert ISO 639-1 to ISO 639-2

I need to take an ISO 639-1 code such as en-GB and convert it into an ISO 639-2 code such as eng. I have looked at the following libraries, but did not find a documented means to perform that...

CultureInfo and ISO 639-3

I'm searching a way to construct a CultureInfo object from a ISO 639-3 language code. I didn't find anything in the MSDN about that and trying to get it from the list of all cultures didn't...

Using ISO 639-2 or ISO 639-3 as authoritative languages list?

(changed title so as not to confuse future readers) Is this an authoritative list of languages I can use for my application? From: http://en.wikipedia.org/wiki/ISO_639-1 -->...

How to get ISO 639-2 values (for which is there is no ISO 639-1 2 letter code) from ISO 639-1?

Due to API version changes, we are now receiving ISO 639-1 (2 letter codes e.g. "en", "fr", "es") instead of ISO 639-2 (3 letter codes e.g. "eng", "frm", "spa"). I found in JAVA we can use locales...

List of ISO 639 languages, translated into every ISO 639 language

I am looking for a set of lists, each containing all the ISO 639 languages localized into each of the languages. I know, this sounds confusing. Here is what I want and can't find: List1:...

Converting language names to ISO 639 language codes

I need to convert language names like 'Hungarian', 'English' to ISO 639 codes. ISO 639-6 would be the best but ISO 639-2 is good enough. What's the best way to achieve this? I should convert the...

Convert language code three characters (ISO 639-2) to two-character code (ISO 639-1)

I'm developing an android app using Text-to-Speech (TTS) engine. TTS component return the list of available languages as list of Locale objects. But both methods Locale::getLanguage and...

ISO 639 - Reliable Lookup Resource in PHP

Intl Extension Uses The RFC 4646 Language Tag In the PHP intl extension, specifically the Locale class, it says: > Locales are identified using RFC 4646 language tags RFC 4646 is deprecated The...

ICU/CLDR | ISO 639 Changes - Monitoring & Maintenance

The International Components for Unicode (ICU) is the underlying library that provides localisation features in various programming languages and environments; I approach this from PHP where the...

ISO 369 (german) != 639 (english)

I found two translations of one article at: https://www.w3.org/International/questions/qa-lang-2or3.en.html > began with either a ISO 639-1 two-letter language code or ISO 639-2 three-letter...

Validate ISO 639-2 language codes ​​- Delphi

How do I validate ISO 639-2 language codes with Delphi? I created my regular expression as: ^[a-zA-Z]{2,3}([-\/][a-zA-Z]{2,3})? This works correctly in php, but in Delphi it does not validate the...

Store language (ISO 639) as Number

I'm working on a MongoDB database and so far have stored some information as Numbers instead of Strings because I assumed that would be more efficient. For example, I store countries following ISO...

Language name from ISO 639-1 code in Javascript

I'm building a website where people can associate a language information to content. The website uses Javascript heavily and the language information associated to various elements is treated...

Is there a free, available document with most iso 639 (languages) codes?

iso.org sells them, but it's $140 USD for just the ISO 639-1 codes. That's just absurd. Also, wikipedia says that the ISO 639-1 code for brazilian portugues is 'pt-BR', yet ISO 693-1 standard use...

Is Java showing ISO 639-2 languages incorrectly in case of Finnish?

Why Java is showing ISO 639-2 language codes incorrectly in case of Finnish language? With ISO 639 codes it gives the correct language name in Finnish. public static void main(String[] args) { ...

Use CultureInfo to get ISO-639 language code

I want to find three-letter ISO 639-2 Language Code for specified LCID in TSQL. I know that I can do that with .NET: public static SqlString GetThreeLetterISO(SqlInt16 lcid) { CultureInfo ci...

Always get ISO 639-2 (three character) language code in iOS?

I'm working on a project that requires a three letter (ISO 639-2) language code to access a REST service. I was hoping to use the current language setting using [[NSLocale currentLocale]...

Convert from 'fr_FR' type language codes to ISO 639-2 language codes

I need to convert in Java from strings like fr_FR, en_GB, ja_JP (meaning the French, English, and Japanese language) to their ISO 639-2 representations: fre/fra, eng, jpn. Do you know if the...

Android: Get the device interface language in ISO 639 3-letters format?

I am developing an Android application for the global market, which will (hopefully!) be installed by users speaking different languages. Since I want to adjust my interface language to the...

Get language and country code (ISO 639-1)

Is there a solution for xamarin-ios to get the current culture in the format like (en_US, de_CH, ..)? I read so many articles in the web and here on stackoverflow. But I can't find a nice solution...

Get system language in ISO 639 (3-letter codes) in Python

Could someone tell me a way to get a system language in the ISO 639 (3 letter code) format in a cross platform way? Thanks. I found a list of three letter country codes.

Get user's language (ISO 639-2) based on IP address

Is there any module for getting user's language based on IP address or country (X-AppEngine-Country) in AppEngine? I need it to be in ISO 639-2 format. It doesn't have to be very precise, since...

How can i convert ISO 639 language code to full english name?

I am looking for the any way to convert the ISO 639 code to the full english name. WiKi URL ISO_639 Thanks

How to convert IETF BCP 47 language identifier to ISO-639-2?

I am writing a server API for an iOS application. As a part of the initialization process, the app should send the phone interface language to server via an API call. The problem is that Apple...

How can i get user's language as a ISO-639-2 code?

I'd like to get this user's OS language as a ISO-639-2 (3 letter language code). If I query the system properties, I get it as a two letter code: System.getProperty("user.language") Is...

Convert ISO 639-1 into a language name in local language with PHP

Stack Overflow offers some "similar" questions but none of them is suitable unfortunately. Or I am a bad searcher. There is the language column in MySQL database which stores different ISO 639-1...

Table of conversion of ISO-639/ISO-3166 based language/country locale name to Windows ones and back

I want to convert POSIX locale names like en_US, de_DE that use ISO-639-1 and ISO-3166 codes to Windows ones English_United States, German_Germany and back. I had found following tables on MSDN...

Get full language name from iso-639 code using pycountry

I have the following problem I am trying to solve. I have a list of iso-639 languages that I retreived using langdetect with the following code ``` def try_detect(cell): try: ...

Optimization: Storing ISO 639-3 language in a MySQL column (int language_id or varchar language)

I have a MySQL DB that needs to be fast at scale. Option 1 Tables can store the language ISO 639-3 code as a column: varchar(3) language Option 2 Tables can store the ID for the language as a...

How to Get the ISO 639-2 country Code on iOS using Swift

Currently I used the following code , but it will return only two digit code if let countryCode = (Locale.current as NSLocale).object(forKey: .countryCode) as? String { print("Code...