i18nlangtag/source/isolang/isolang.cxx        |    2 ++
 include/i18nlangtag/lang.h                    |    2 +-
 l10ntools/source/ulfconv/msi-encodinglist.txt |    1 +
 scp2/source/ooo/module_langpack.ulf           |    6 ++++++
 solenv/inc/langlist.mk                        |    3 ++-
 svtools/inc/langtab.hrc                       |    3 ++-
 6 files changed, 14 insertions(+), 3 deletions(-)

New commits:
commit 2ad4290a467e3f1f2f53ac8a8f3064003a6da4ac
Author:     Christian Lohmaier <[email protected]>
AuthorDate: Tue Jan 7 15:20:44 2025 +0100
Commit:     Christian Lohmaier <[email protected]>
CommitDate: Sun Jan 12 19:36:09 2025 +0100

    add Abkhaz (ab) langaugepack
    
    Change-Id: I100b6c5b34d9c377ab2458dda1cf9af14767c6f0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179892
    Tested-by: Jenkins
    Reviewed-by: Christian Lohmaier <[email protected]>
    (cherry picked from commit 2d9287144195ca68976caf3891e218d5330f49b6)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180139

diff --git a/i18nlangtag/source/isolang/isolang.cxx 
b/i18nlangtag/source/isolang/isolang.cxx
index 88521f1587c5..053f4e16ecd5 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -683,6 +683,7 @@ IsoLanguageCountryEntry const aImplIsoLangEntries[] =
     { LANGUAGE_USER_SARAIKI,               "skr", "PK", k0    },
     { LANGUAGE_USER_MORISYEN,              "mfe", "MU", k0    },
     { LANGUAGE_USER_FRENCH_GUINEA,          "fr", "GN", k0    },
+    { LANGUAGE_USER_ABKHAZ,                 "ab", ""  , k0    },
     // Add new languages ^^^ there.
     { LANGUAGE_MULTIPLE,                   "mul", ""  , k0    },    // 
multiple languages, many languages are used
     { LANGUAGE_UNDETERMINED,               "und", ""  , k0    },    // 
undetermined language, language cannot be identified
@@ -1183,6 +1184,7 @@ css::lang::Locale 
MsLangId::Conversion::lookupFallbackLocale(
             {
                 if (rEntry.mnLang.anyOf(
                     // These are known to have no country assigned.
+                    LANGUAGE_USER_ABKHAZ,
                     LANGUAGE_USER_ESPERANTO,
                     LANGUAGE_USER_INTERLINGUA,
                     LANGUAGE_USER_INTERLINGUE,
diff --git a/include/i18nlangtag/lang.h b/include/i18nlangtag/lang.h
index d37c8bbe7090..3df015a48d57 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -793,7 +793,7 @@ namespace o3tl
 #define LANGUAGE_USER_MORISYEN              LanguageType(0x06B2)
 #define LANGUAGE_USER_SANTALI_OLCHIKI_INDIA LanguageType(0x06B3)
 #define LANGUAGE_USER_FRENCH_GUINEA         LanguageType(0x940C)  /* 
makeLangID( 0x25, getPrimaryLanguage( LANGUAGE_FRENCH)) */
-
+#define LANGUAGE_USER_ABKHAZ                LanguageType(0x06B4)
 
 /* XXX Add new user defined LCIDs ^^^ there.
  * Note that we run out of IDs with sublanguage ID 0x01 after 0x07DF ... */
diff --git a/l10ntools/source/ulfconv/msi-encodinglist.txt 
b/l10ntools/source/ulfconv/msi-encodinglist.txt
index 6f6cb0f644be..47a32af248be 100644
--- a/l10ntools/source/ulfconv/msi-encodinglist.txt
+++ b/l10ntools/source/ulfconv/msi-encodinglist.txt
@@ -20,6 +20,7 @@
 # 2nd field used to be the ANSI codepage,
 # but now we are using UTF-8 everywhere.
 # comment lines begin with hash
+ab       0  1716   # Abkhaz, fake LCID
 af       0  1078   # Afrikaans
 am       0  1118   # Amharic
 ar       0  1025
diff --git a/scp2/source/ooo/module_langpack.ulf 
b/scp2/source/ooo/module_langpack.ulf
index 090c7190f096..1815f3e459bd 100644
--- a/scp2/source/ooo/module_langpack.ulf
+++ b/scp2/source/ooo/module_langpack.ulf
@@ -274,6 +274,12 @@ en-US = "Zulu"
 [STR_DESC_MODULE_LANGPACK_ZU]
 en-US = "Installs the Zulu user interface"
 
+[STR_NAME_MODULE_LANGPACK_AB]
+en-US = "Abkhaz"
+
+[STR_DESC_MODULE_LANGPACK_AB]
+en-US = "Installs the Abkhazian user interface"
+
 [STR_NAME_MODULE_LANGPACK_AF]
 en-US = "Afrikaans"
 
diff --git a/solenv/inc/langlist.mk b/solenv/inc/langlist.mk
index 9f4fe3c76dac..77db6898d7bb 100644
--- a/solenv/inc/langlist.mk
+++ b/solenv/inc/langlist.mk
@@ -17,7 +17,8 @@
 #
 
 # Complete list of all supported localizations (ISO codes)
-completelangiso=af \
+completelangiso=ab \
+af \
 am \
 ar \
 as \
diff --git a/svtools/inc/langtab.hrc b/svtools/inc/langtab.hrc
index e2a3e82d016a..4afd8a6a9bc7 100644
--- a/svtools/inc/langtab.hrc
+++ b/svtools/inc/langtab.hrc
@@ -446,7 +446,8 @@ const std::pair<TranslateId, LanguageType> 
STR_ARR_SVT_LANGUAGE_TABLE[] =
     { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Rohingya Hanifi") , 
LANGUAGE_USER_ROHINGYA_HANIFI },
     { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Morisyen") , LANGUAGE_USER_MORISYEN },
     { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Santali, Ol Chiki") , 
LANGUAGE_USER_SANTALI_OLCHIKI_INDIA },
-    { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "French (Republic of Guinea)") , 
LANGUAGE_USER_FRENCH_GUINEA }
+    { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "French (Republic of Guinea)") , 
LANGUAGE_USER_FRENCH_GUINEA },
+    { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Abkhaz") , LANGUAGE_USER_ABKHAZ }
 };
 
 

Reply via email to