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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m assuming you’re wanting ISO 639 2 and not ISO 639 3 here. Machine-readable data is available from the Library of Congress (I’m using the “utf-8” encoding for this answer, see also http://www.loc.gov/standards/iso639-2/ascii_8bits.html for more info.)
Here’s an example of how you could load this: