Language codes - electricbookworks/constitution GitHub Wiki
We use ISO language codes for folder names and in metadata. Following digital-publishing best-practice, we use the two-letter codes where available. Of the South African official languages, Sepedi/Northern Sotho is the only one without a two-letter code; so we use the three-letter code there.
| Language | Code |
|---|---|
| Afrikaans | af |
| English | en |
| Ndebele | nd |
| Sepedi/Nothern Sotho | nso |
| siSwati | ss |
| Sesotho | st |
| Setswana | tn |
| Xitsonga | ts |
| Tshivenḓa | ve |
| isiXhosa | xh |
| isiZulu | zu |
Background
To read more about using language tags, read this article. For the registry of tags, see this IANA page. Here is a a useful tag-lookup tool.