-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
source: add 2 lines expressing the language script code and language code #31
Comments
we can use this for hyphenation, font-switching, typographic fine-tuning, formating of localization (i.e. dates and numbers) and of course direction of writing |
This is a quick list of languages used. duplicates are because of use of different conventions or added comments. Parsing the above-mentioned codes makes it possible to replace titles with variables in the future. German |
partially in 05_get_the_columns.sh - see #50 OUTPUT: |
single language: 3-letters |
Parsing columns for languages will be improved by adding lines containing language-script-code and language-code
it needs to be discussed what codes to use as there are different systems.
ISO 639-3 (3-letters) and ISO_15924 (up to 4 letters) are good candidates as dialects/different versions are catched
The information on what codes are used in a translation can be provided by the translators or manual lookup.
ToDo: how to handle phonetics: as for now i propose using
Latn as scriptcode
the ISO 639 + phon: fas_phon, prs_phon
example using ISO_15924 (scriptcode) and ISO 639
German | English | Arabic (farsi) | Dari | Dari-phonetics
Latn | Latn | Arab | Arab | Latn
ger | eng | fas | prs | prs_phon
ref:
http://www-01.sil.org/iso639-3/scope.asp#M
http://www.unicode.org/iso15924/iso15924-num.html
http://www-01.sil.org/iso639-3/macrolanguages.asp
The text was updated successfully, but these errors were encountered: