From 3e8548f567be3bb3d73f9e16905e9a7332dc2bba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Tue, 15 Sep 2015 11:10:59 +0200 Subject: [PATCH] Updated Language Conventions (markdown) --- Language-Conventions.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Language-Conventions.md b/Language-Conventions.md index ee58441..3e60ab4 100644 --- a/Language-Conventions.md +++ b/Language-Conventions.md @@ -45,4 +45,13 @@ Im Allgemeinen steht das Verb hier hinten und das Objekt vorne! ## Transifex * Fresh pull with ``tx pull -af`` -* Problems with tags: https://github.com/open-keychain/open-keychain/issues/1128 \ No newline at end of file +* Problems with tags: https://github.com/open-keychain/open-keychain/issues/1128 + +## Other notes +* certain language codes sometimes have different names in Android, so there should be identical copies for each of these language locales: + * he and iw + * id and in + * yi and ji +* there should never be a zh only locale, only zh with a country, i.e. zh_CN, zh_TW, etc. + for a language-only locale: (e.g. de, es, mm), just add the language code to the end of values-, (e.g. values-de, values-es, values-mm). +* for a language+country locale (e.g. zh_HK, es_MX), convert the _ (underscore) to a -r (dash and lowercase R) and add that to the end of values- (e.g. values-zh-rHK, values-es-rMX)