i18nlangtag/source/languagetag/languagetag.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 542a38de1a071f54f61806683dafea84e43edce9
Author:     Eike Rathke <[email protected]>
AuthorDate: Sun Oct 24 18:50:27 2021 +0200
Commit:     Eike Rathke <[email protected]>
CommitDate: Sun Oct 24 22:44:46 2021 +0200

    Return LANGUAGE_ENGLISH_US for AppleLanguageId::ENGLISH
    
    Most likely was an oversight when using LANGUAGE_ENGLISH as other
    LANGUAGE_FRENCH and LANGUAGE_GERMAN are locales already.
    
    Change-Id: Ie16395340cef9939a5397e3d10d6df6b13ac8d99
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124124
    Reviewed-by: Eike Rathke <[email protected]>
    Tested-by: Jenkins

diff --git a/i18nlangtag/source/languagetag/languagetag.cxx 
b/i18nlangtag/source/languagetag/languagetag.cxx
index 1dbc383e52b2..ebad94022615 100644
--- a/i18nlangtag/source/languagetag/languagetag.cxx
+++ b/i18nlangtag/source/languagetag/languagetag.cxx
@@ -2881,7 +2881,7 @@ LanguageTag 
makeLanguageTagFromAppleLanguageId(AppleLanguageId nLanguage)
     switch (nLanguage)
     {
         case AppleLanguageId::ENGLISH:
-            nLang = LANGUAGE_ENGLISH;
+            nLang = LANGUAGE_ENGLISH_US;
             break;
         case AppleLanguageId::FRENCH:
             nLang = LANGUAGE_FRENCH;

Reply via email to