CLD2Owners/cld2

Enhancement: expose ISO 639-2 codes for all languages

zackw opened this issue · 0 comments

zackw commented

Please add a function whose contract is the same as the existing CLD2::LanguageCode except that it always produces an ISO 639-2 code if there is one (instead of using -2 codes only for languages that don't have a -1 code). This would, for instance, mean that I don't need to have a separate "what CLD2 calls this language" column in my database along with the ISO codes.