Questions tagged [iso-639]

ISO 639 family of standards specifies 2- and 3-letter abbreviated names for languages and language groups, like 'en' or 'eng' for English, 'ko' or 'kor' for Korean and 'art' for artificial languages.

15 questions
4
votes
1 answer

How to convert languages ISO639-1 codes to language names in python?

I have the following Pandas series: >>> df.original_language.value_counts() en 32269 fr 2438 it 1529 ja 1350 de 1080 ... la 1 jv 1 sm 1 gl 1 mt 1 Name: original_language, Length: 92,…
Fatimah E.
  • 101
  • 1
  • 5
4
votes
1 answer

ImportError: cannot import name 'languages'

I am trying to run a python script, but I get this error: from iso639 import languages ImportError: cannot import name 'languages' I have installed iso639, but I still get this error. Any ideas how to fix this? Was there something else I had to…
4
votes
2 answers

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 transformation in any of…
user82216
2
votes
3 answers

Twitter language code "in"

I'm getting tweets from the twitter streaming api and I found that some of them have language code "in" as a parameter. The language code is supposed to be on the ISO 639-1 standard, but I haven't been able to find to which language does it…
BeWater
  • 31
  • 3
1
vote
1 answer

Supported ISO language codes in SQL server

• How can I list the supported regional ISO codes per the version I work on? I need to check an ISO 639-1 (2 characters) language code to see if it is supported. You don't get a default reply for versions prior to 2019. It throws an error. Example…
Barak G.
  • 224
  • 3
  • 6
0
votes
2 answers

What is the ISO 639x Value for Dutch?

Our program uses the ISO 639x code to name the language files easily. However, in https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Language_Culture_Names,_Codes,_and_ISO_Values, the code for Dutch - The Netherlands is empty. How to find the…
alancc
  • 487
  • 2
  • 24
  • 68
0
votes
1 answer

Get exact language object from display name

Using langcodes package, how do I obtain the exact language object from the display name? For example, langcodes.find("English (United Kingdom)") returns Language.make(language='en') instead of returning Language.make(language='en', territory='GB')…
Anm
  • 447
  • 4
  • 15
0
votes
1 answer

DecimalFormatSymbols has unexpected region specific values for unorthodox locales

With help of DecimalFormatSymbols you can request locale-based characteristics, such as decimal separator or thousands separator. As long as you request it for usual language tags (e.g. de-AT, en-US) it works as expected. But if you mix…
PAX
  • 1,056
  • 15
  • 33
0
votes
1 answer

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 column: int(2?) language_id, and there can be a languages…
Edward
  • 518
  • 3
  • 13
0
votes
0 answers

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 and use getISO3Language() method to get 3 letter…
Tarnished-Coder
  • 318
  • 2
  • 7
0
votes
1 answer

Best way to allow users to add text in another language

I have a Xamarin Forms app where users enter the pieces of information they want to gather on a form. The user provides a caption for each piece of information. I want to allow the user to enter a caption for each piece of information in multiple…
George M Ceaser Jr
  • 1,497
  • 3
  • 23
  • 52
0
votes
0 answers

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 intl extension uses ICU for this purpose. As I…
user1694691
0
votes
1 answer

What language code should I use to support multiple languages?

I want to go with translation tables as described here in the third example. This is not hard to implement but what I wonder is basically how do I want to encode those languages? I looked up the ISO 639-3 files that contain the latest languages and…
Stefan Falk
  • 23,898
  • 50
  • 191
  • 378
-2
votes
1 answer

Need ISO 639-1 (2 letter) Languages code and List and translation in all languages

I need list of 2 letter language code and name , which is again translated in all languages .
-3
votes
1 answer

Get the name of a language given its code, and vice versa

How can I get the English name of a language given its two-letter code (see ISO 639-1 and List of ISO 639-1 codes)? en --> english it --> italian And what about the other way around? spanish --> es finnish --> fi Of course, a possible way to do it…
Riccardo Bucco
  • 13,980
  • 4
  • 22
  • 50