2-char language codes

H

hughprior

I am webmaster for on of the sites which uses the wonderful DMOZ data, and if you speak anything other than English, I need your help!!

Standard 2-char codes for languages are USUALLY well defined, e.g. the following list gives a supposedly definitive list:

https://www.loc.gov/standards/iso639-2/langcodes.html

Supposedly.

I have a particular need to find out the best 2-char codes for many languages which it seems are NOT listed there!

The codes are to be used in the following site URLs, e.g. for French language, the 2-char code 'fr' is shown below:

http://www.localpin.com/static/lang/fr/loc/world.htm

The list of ALL the languages being used can be found at the bottom of the home page:

http://www.localpin.com

and the list of languages comes from:

/World/

There are a few problems:
a) The DMOZ site list defines the language in the language (e.g. Spanish is listed as Espanol), whereas the ISO-639 list has the language listed under its English name. Sometimes I just don't know what goes with what!

b) Sometimes DMOZ lists a language that just doesn't seem to appear at all in the ISO-639 list

So, PLEASE, if you speak a particular language listed there, check what the 2-char code used on http://www.localpin.com and see if it is correct!

In particular, I have no clue and have had to guess what 2-char code to use for:
Bable
Bahasa Melayu
Bangla
Bosanski
Chinese (DMOZ lists 2 versions - simplified and traditional - which should use the ISO code of zh? and what should the other use?)
Eesti
Euskara
Frysk
Letzebuergesch
Lietuviu
Magyar
Punjabi
Rumantsch
Shqip
Srpski
Suomi
Taiwanese

Thanks for any help/suggestions/corrections!

regards,


The linguistically-challenged LocalPin webmaster
 
Last edited by a moderator:

tuisp

DMOZ Meta/kMeta
Curlie Meta
Joined
Apr 3, 2002
Messages
3,704
Hello Hugh,

I'll try to give you a hand here. Codes are taken from https://www.loc.gov/standards/iso639-2/englangn.html:

Bable :arrow_right: Asturian; Bable :arrow_right: ast (639-2; no 639-1 code exists)

Bahasa Melayu :arrow_right: Malay :arrow_right: may (639-2, bibliographic) / msa (639-2, terminology code) ms (639-1)

Bangla :arrow_right: Bengali :arrow_right: ben (639-2) bn (639-1)

Bosanski :arrow_right: Bosnian :arrow_right: bos (639-2) bs (639-1)

Chinese (DMOZ lists 2 versions - simplified and traditional - which should use the ISO code of zh? and what should the other use?) :arrow_right: Sorry, can't help you there -- https://www.loc.gov/standards/iso639-2/englangn.html#cd knows only one form of Chinese

Eesti :arrow_right: Estonian :arrow_right: est (639-2) et (639-1)

Euskara :arrow_right: Basque :arrow_right: baq (639-2, bibliographic) / eus (639-2, terminology code) eu (639-1)

Frysk :arrow_right: Frisian :arrow_right: fry (639-2) fy (639-1)

Letzebuergesch :arrow_right: Luxembourgish :arrow_right: ltz (639-2) lb (639-1)

Lietuviu :arrow_right: Lithuanian :arrow_right: lit (639-2) lt (639-1)

Magyar :arrow_right: Hungarian :arrow_right: hun (639-2) hu (639-1)

Punjabi :arrow_right: Punjabi; Panjabi :arrow_right: pan (639-2) pa (639-1)

Rumantsch :arrow_right: Romansh :arrow_right: roh (639-2) rm (639-1)

Shqip :arrow_right: Albanian :arrow_right: alb (639-2, bibliographic) / sqi (639-2, terminology code) sq (639-1)

Srpski :arrow_right: Serbian :arrow_right: scc (639-2, bibliographic) / srp (639-2, terminology code) sr (639-1)

Suomi :arrow_right: Finnish :arrow_right: fin (639-2) fi (639-1)

Taiwanese [is a third variant for Chinese]

http://mozzie.org/ might help you further...
 
Last edited by a moderator:
H

hughprior

Thanks a million Tuisp!

That's exactly what I was looking for. I've already made changes to all the ones you listed (the current list can be seen on the bottom of the home page http://www.localpin.com ).
I should say as well, I guessed (maybe wrongly?!), Slovensko and Slovensky. Which is Slovak (sk) and which is Slovanian (sl)?

Thanks again.
 
Last edited by a moderator:

tuisp

DMOZ Meta/kMeta
Curlie Meta
Joined
Apr 3, 2002
Messages
3,704
Glad it helped.

Slovensko is Slovenian and Slovensky is Slovak :)
 
This site has been archived and is no longer accepting new content.
Top