summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-01-22 18:18:33 +0100
committerEike Rathke <erack@redhat.com>2016-01-22 21:50:00 +0100
commit43507882386f5d576e4f6c49dfd578630167d893 (patch)
tree354be4799102f0454ee9d7ac18f9e448fea615d0 /include
parent7b48a8fb2f0a0d8b854ec00d5f03ec09e8cfa4da (diff)
document some naming conventions
Change-Id: Id73c7b56c58855fc5ae2304274b6da97272037b8
Diffstat (limited to 'include')
-rw-r--r--include/i18nlangtag/lang.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/i18nlangtag/lang.h b/include/i18nlangtag/lang.h
index 51310f976c61..01448313832f 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -107,6 +107,16 @@ typedef unsigned short LanguageType;
/* NOTE: this is taken from the MS documentation! Not supported by OOo/SO! */
#define LANGUAGE_INVARIANT 0x007F
+/* Naming conventions:
+ * * ..._LSO suffix indicates a Language-Script-Only mapping, i.e. no country
+ * assignment in i18nlangtag/source/isolang/isolang.cxx.
+ * Used for backward compatibility or where MS assigned such values and they
+ * should be explicitly handled.
+ * * LANGUAGE_USER_... for our user-defined IDs.
+ * * LANGUAGE_OBSOLETE_USER_... for a user-defined ID that has been replaced by
+ * a value defined by MS.
+ */
+
#define LANGUAGE_AFRIKAANS 0x0436
#define LANGUAGE_ALBANIAN 0x041C
#define LANGUAGE_ALSATIAN_FRANCE 0x0484