summaryrefslogtreecommitdiff
path: root/i18nlangtag/qa/cppunit/test_languagetag.cxx
AgeCommit message (Collapse)AuthorFilesLines
2013-11-18cleaned up ISO code usage for Kurdish, fdo#63460Eike Rathke1-0/+8
* instead of the 'ku' macrolanguage code use proper ISO 639-3 codes and use 'Latn' script with 'kmr' * use MS-LCID 0x0492 for Central Kurdish (Iraq) [ckb-IQ] * added Southern Kurdish (Iraq) [sdh-IQ] Change-Id: Iaee8be98d0659a0e7bbf041e60025dd1f771066f
2013-10-29assume 'ha-*' was indeed used as 'ha-Latn-*'Eike Rathke1-0/+2
Change-Id: I5675bf4ee3d255725c1fda2bdd223d7c9d821ab3
2013-10-25override 'yi-Hebr-*' with 'yi-*' as Hebr is suppress-scriptEike Rathke1-1/+3
Change-Id: Iaae25a7d517404fc9c8186fd1006f9a4af82f584
2013-10-25override 'sr-Cyrl*' with 'sr*'Eike Rathke1-1/+6
which is what we so far always used, though Cyrl is not suppress-script and would be correct, but it's primary usage. Change-Id: If7ce7dfcc6b4cc07c503dd2ff2c2bbe2c55c9338
2013-10-25Sindhi 'sd-PK' => 'sd-Arab-PK'Eike Rathke1-0/+1
Change-Id: I418a991f4555a411ea05237010f64b03552affe5
2013-10-25more flexible language tag override mechanismEike Rathke1-25/+104
* allow overriding higher level lll-Ssss-CC with lower level lll-CC for known MS-LangID mappings that use tags with suppress-script * internal override "canonicalization", e.g. ca-XV => ca-ES-valencia Change-Id: I067d7515fb9144a896697617ad1b079e294f1ced
2013-10-24added/checked/aligned MS-LangIDs and mappings from new MS-LCID.pdfEike Rathke1-4/+28
... found at http://msdn.microsoft.com/library/cc233965.aspx (the 5th or 6th place I'm aware of where MS defines LCIDs, all different ...) * a bunch of new definitions up to Windows 8.1 * lots of cross-checks done with SIL, Ethnologue, ... Change-Id: Ifae8e676558c6712fe752856acca600d05d0a63f
2013-10-17solve the 'dz' vs 'bo' and 'nn', 'nb' and 'nn' share primary ID casesEike Rathke1-1/+23
Change-Id: I7ccead4493c9848b55f642c2636daa3c60aeb7a6
2013-10-12for unmapped language-only register primary language ID if availableEike Rathke1-0/+18
... instead of an on-the-fly ID Change-Id: I5cb38e91b67d02f0ccda90feb2ad0c60cd3765c5
2013-09-20now with on-the-fly LangID assignmentEike Rathke1-8/+14
Change-Id: I0766705191176381beaf331de3d10dfc0086a9b4
2013-09-20second wave to register tagsEike Rathke1-0/+2
Change-Id: If71d7bdbe590b66e3642e8815a536482c67dd7c0
2013-09-19'de-1901' is a valid fallback, 'en-oed' is notEike Rathke1-1/+13
Change-Id: I73b821eaff82796080ce123e37466ec53c327141
2013-09-19accept (DIGIT 3*ALNUM) variant in place of (4*ALPHA) scriptEike Rathke1-1/+19
Change-Id: If622619bd2e282ab8298ac8a29f8bb57a8fe968f
2013-09-13added 'en-GB-oed' for "English, OED spelling (UK)"Eike Rathke1-0/+16
Change-Id: Ia51a8503213997ea589f2df79552ef765ecfc748
2013-09-12include legacy tags in fallback stringsEike Rathke1-3/+33
Change-Id: Ice3f4f061b1ae84d2d486e908399550770d5170a
2013-09-10changed all 'sh' language to 'sr-Latn'Eike Rathke1-5/+29
Change-Id: Iafadaea87501bc3675eaf2856b5050a7e3ecaa37
2013-09-10added ca-ES-valencia fallback to ca-XV fallback stringsEike Rathke1-2/+5
Change-Id: Iedc5924cf5100a2e7d014be68dc4897d3c0e76a0
2013-09-10added overrides for fallbacks of legacy codesEike Rathke1-0/+23
Change-Id: I62be84904b3f0f4beeda35e78906604090eefa86
2013-09-10include language-only in ISO-only fallback stringsEike Rathke1-0/+5
Change-Id: I6da1b2b46c724c72bff3b1ee9739f2625a0321c2
2013-09-05getFallbackStrings() with bIncludeFullBcp47 parameterEike Rathke1-2/+2
so the various places that check the full tag first do not have to get it just to delete it again. Change-Id: Ib4e3cf1b16988464db875f1b6ac5cf4a0ab60fe5
2013-09-04renamed ca-XV to ca-valencia and activated ca-ES-valencia, fdo#59867 relatedEike Rathke1-16/+1
Build Catalan-Valencian as ca-valencia instead of ca-XV private-use. Introduced LANGUAGE_CATALAN_VALENCIAN 0x0803 mapping to ca-ES-valencia, preserving old ca-XV and qcv-ES mappings to now LANGUAGE_CATALAN_VALENCIAN and LANGUAGE_OBSOLETE_USER_CATALAN_VALENCIAN 0x8003 to ca-ES-valencia. Removed special !bUserInterfaceSelection treatment from MsLangId::getReplacementForObsoleteLanguage() and added the usual obsolete replacement instead. Change-Id: I2fdd8b0bac55d4b4ae2cbf3c3645f09fefec9b6e
2013-08-29handle variants in replacement codeEike Rathke1-11/+0
Change-Id: I57da3bcd415c060b1e785e0d1cf3966de819c196
2013-08-29implemented missing replacement bits for Android buildEike Rathke1-0/+11
Change-Id: I7492cb80f37dc99b3b4a16d2d812c9e301a1a4a7
2013-08-28added makeFallback() checks to unit testEike Rathke1-0/+13
Change-Id: I1851e4eb821d1230df7268378c786d55a8652f9d
2013-08-28again match some copy&paste namesEike Rathke1-4/+4
Change-Id: Iddfe959568f73f71827d9c1c651087ec93cbc941
2013-08-28added unit test for ca-valenciaEike Rathke1-0/+22
Change-Id: I2a36296e1210e349a7b53d999a2438aa45f3e2c2
2013-08-28added unit test for fallback stringsEike Rathke1-0/+6
Change-Id: Ife3694e9432141e638d8f6050f4e5335c254cdbf
2013-08-28match names with tagEike Rathke1-14/+14
Change-Id: I817b2cf9a015709d90b3f1c22290bce0cbc31eab
2013-08-28added unit test for ca-ES-valenciaEike Rathke1-0/+23
Change-Id: Ib4eb93f9ba8145f6404bed9393580646358bb805
2013-08-23encapsulate IsoLangEntry againEike Rathke1-12/+11
Change-Id: I66475eb3914b07b4c7a045e295ef77a5de9439d4
2013-04-05new module i18nlangtagEike Rathke1-0/+353
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015