i18npool/Library_localedata_others.mk | 1 i18npool/source/localedata/data/mn_Mong_MN.xml | 203 +++++++++++++++++++++++++ i18npool/source/localedata/localedata.cxx | 1 3 files changed, 205 insertions(+)
New commits: commit 698698633806a95490c0ce4d46f763bbdd4ee358 Author: Jonathan Clark <jonat...@libreoffice.org> AuthorDate: Mon Jan 20 13:34:36 2025 -0700 Commit: Jonathan Clark <jonat...@libreoffice.org> CommitDate: Tue Jan 21 18:52:52 2025 +0100 tdf#163227 Add Mongolian {mn-Mong-MN} locale data Adds provisional locale for Mongolian script, derived from mn-Cyrl-MN. This locale data will likely need refinement. In particular, traditional Mongolian date formats are not implemented due to insufficient data. Change-Id: I56a9e4cac1b26b4588c5a7327c56991ec91f033d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180552 Tested-by: Jenkins Reviewed-by: Jonathan Clark <jonat...@libreoffice.org> diff --git a/i18npool/Library_localedata_others.mk b/i18npool/Library_localedata_others.mk index 9164995c3966..287eda351a83 100644 --- a/i18npool/Library_localedata_others.mk +++ b/i18npool/Library_localedata_others.mk @@ -99,6 +99,7 @@ $(eval $(call gb_Library_add_generated_exception_objects,localedata_others,\ CustomTarget/i18npool/localedata/localedata_mkw_CG \ CustomTarget/i18npool/localedata/localedata_ml_IN \ CustomTarget/i18npool/localedata/localedata_mn_Cyrl_MN \ + CustomTarget/i18npool/localedata/localedata_mn_Mong_MN \ CustomTarget/i18npool/localedata/localedata_mos_BF \ CustomTarget/i18npool/localedata/localedata_mr_IN \ CustomTarget/i18npool/localedata/localedata_ms_MY \ diff --git a/i18npool/source/localedata/data/mn_Mong_MN.xml b/i18npool/source/localedata/data/mn_Mong_MN.xml new file mode 100644 index 000000000000..bf139fbb2ce6 --- /dev/null +++ b/i18npool/source/localedata/data/mn_Mong_MN.xml @@ -0,0 +1,203 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE Locale SYSTEM 'locale.dtd'> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> +<Locale versionDTD="2.0.3" allowUpdateFromCLDR="no" version="1.0"> + <LC_INFO> + <Language> + <LangID>qlt</LangID> + <DefaultName>Mongolian Mongolian</DefaultName> + </Language> + <Country> + <CountryID>MN</CountryID> + <DefaultName>Mongolia</DefaultName> + </Country> + <Variant>mn-Mong-MN</Variant> + </LC_INFO> + <LC_CTYPE unoid="generic"> + <Separators> + <DateSeparator>.</DateSeparator> + <ThousandSeparator> </ThousandSeparator> + <DecimalSeparator>,</DecimalSeparator> + <TimeSeparator>:</TimeSeparator> + <Time100SecSeparator>,</Time100SecSeparator> + <ListSeparator>;</ListSeparator> + <LongDateDayOfWeekSeparator> </LongDateDayOfWeekSeparator> + <LongDateDaySeparator> </LongDateDaySeparator> + <LongDateMonthSeparator> </LongDateMonthSeparator> + <LongDateYearSeparator> ᠣᠨ</LongDateYearSeparator> + </Separators> + <Markers> + <QuotationStart>‘</QuotationStart> + <QuotationEnd>’</QuotationEnd> + <DoubleQuotationStart>“</DoubleQuotationStart> + <DoubleQuotationEnd>”</DoubleQuotationEnd> + </Markers> + <TimeAM>AM</TimeAM> + <TimePM>PM</TimePM> + <MeasurementSystem>Metric</MeasurementSystem> + </LC_CTYPE> + <LC_FORMAT ref="mn_Cyrl_MN" replaceFrom="[CURRENCY]" replaceTo="[$₮-450]"/> + <LC_COLLATION ref="mn_Cyrl_MN"/> + <LC_SEARCH ref="mn_Cyrl_MN"/> + <LC_INDEX> + <IndexKey unoid="alphanumeric" default="true" phonetic="false">ᠠ-ᡂ</IndexKey> + <UnicodeScript>36</UnicodeScript> + <FollowPageWord>p.</FollowPageWord> + <FollowPageWord>pp.</FollowPageWord> + </LC_INDEX> + <LC_CALENDAR> + <Calendar unoid="gregorian" default="true"> + <DaysOfWeek> + <Day> + <DayID>sun</DayID> + <DefaultAbbrvName>ᠨᠢ</DefaultAbbrvName> + <DefaultFullName>ᠨᠢᠮᠠ</DefaultFullName> + </Day> + <Day> + <DayID>mon</DayID> + <DefaultAbbrvName>ᠲᠠ</DefaultAbbrvName> + <DefaultFullName>ᠳᠠᠸᠠ</DefaultFullName> + </Day> + <Day> + <DayID>tue</DayID> + <DefaultAbbrvName>ᠮᠢᠭ</DefaultAbbrvName> + <DefaultFullName>ᠮᠢᠠᠠᠮᠠᠷ</DefaultFullName> + </Day> + <Day> + <DayID>wed</DayID> + <DefaultAbbrvName>ᡀᠠ</DefaultAbbrvName> + <DefaultFullName>ᡀᠠᠭᠪᠠ</DefaultFullName> + </Day> + <Day> + <DayID>thu</DayID> + <DefaultAbbrvName>ᠫᠥᠷ</DefaultAbbrvName> + <DefaultFullName>ᠫᠦᠷᠪᠦ</DefaultFullName> + </Day> + <Day> + <DayID>fri</DayID> + <DefaultAbbrvName>ᠪᠠ</DefaultAbbrvName> + <DefaultFullName>ᠪᠠᠰᠠᠩ</DefaultFullName> + </Day> + <Day> + <DayID>sat</DayID> + <DefaultAbbrvName>ᠪᠢᠮ</DefaultAbbrvName> + <DefaultFullName>ᠪᠢᠮᠪᠠ</DefaultFullName> + </Day> + </DaysOfWeek> + <MonthsOfYear> + <Month> + <MonthID>jan</MonthID> + <DefaultAbbrvName>1 ᠊ᠷ ᠰᠠᠷᠠ</DefaultAbbrvName> + <DefaultFullName>ᠨᠢᠭᠡᠳᠥᠭᠡᠷ ᠰᠠᠷᠠ</DefaultFullName> + </Month> + <Month> + <MonthID>feb</MonthID> + <DefaultAbbrvName>2 ᠊ᠷ ᠰᠠᠷᠠ</DefaultAbbrvName> + <DefaultFullName>ᠬᠣᠶᠠᠳᠣᠭᠠᠷ ᠰᠠᠷᠠ</DefaultFullName> + </Month> + <Month> + <MonthID>mar</MonthID> + <DefaultAbbrvName>3 ᠊ᠷ ᠰᠠᠷᠠ</DefaultAbbrvName> + <DefaultFullName>ᠭᠣᠷᠪᠡᠳᠣᠭᠠᠷ ᠰᠠᠷᠠ</DefaultFullName> + </Month> + <Month> + <MonthID>apr</MonthID> + <DefaultAbbrvName>4 ᠊ᠷ ᠰᠠᠷᠠ</DefaultAbbrvName> + <DefaultFullName>ᠳᠥᠷᠪᠡᠳᠥᠭᠡᠷ ᠰᠠᠷᠠ</DefaultFullName> + </Month> + <Month> + <MonthID>may</MonthID> + <DefaultAbbrvName>5 ᠊ᠷ ᠰᠠᠷᠠ</DefaultAbbrvName> + <DefaultFullName>ᠲᠠᠪᠣᠳᠣᠭᠠᠷ ᠰᠠᠷᠠ</DefaultFullName> + </Month> + <Month> + <MonthID>jun</MonthID> + <DefaultAbbrvName>6 ᠊ᠷ ᠰᠠᠷᠠ</DefaultAbbrvName> + <DefaultFullName>ᠵᠢᠷᠭᠣᠭᠠᠳᠣᠭᠠᠷ ᠰᠠᠷᠠ</DefaultFullName> + </Month> + <Month> + <MonthID>jul</MonthID> + <DefaultAbbrvName>7 ᠊ᠷ ᠰᠠᠷᠠ</DefaultAbbrvName> + <DefaultFullName>ᠲᠣᠯᠣᠭᠠᠳᠣᠭᠠᠷ ᠰᠠᠷᠠ</DefaultFullName> + </Month> + <Month> + <MonthID>aug</MonthID> + <DefaultAbbrvName>8 ᠊ᠷ ᠰᠠᠷᠠ</DefaultAbbrvName> + <DefaultFullName>ᠨᠠᠢᠮᠠᠳᠥᠭᠠᠷ ᠰᠠᠷᠠ</DefaultFullName> + </Month> + <Month> + <MonthID>sep</MonthID> + <DefaultAbbrvName>9 ᠊ᠷ ᠰᠠᠷᠠ</DefaultAbbrvName> + <DefaultFullName>ᠶᠢᠰᠥᠳᠥᠭᠡᠷ ᠰᠠᠷᠠ</DefaultFullName> + </Month> + <Month> + <MonthID>oct</MonthID> + <DefaultAbbrvName>10 ᠊ᠷ ᠰᠠᠷᠠ</DefaultAbbrvName> + <DefaultFullName>ᠠᠷᠪᠠᠳᠣᠭᠠᠷ ᠰᠠᠷᠠ</DefaultFullName> + </Month> + <Month> + <MonthID>nov</MonthID> + <DefaultAbbrvName>11 ᠊ᠷ ᠰᠠᠷᠠ</DefaultAbbrvName> + <DefaultFullName>ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠥᠭᠡᠷ ᠰᠠᠷᠠ</DefaultFullName> + </Month> + <Month> + <MonthID>dec</MonthID> + <DefaultAbbrvName>12 ᠊ᠷ ᠰᠠᠷᠠ</DefaultAbbrvName> + <DefaultFullName>ᠠᠷᠪᠠᠨ ᠬᠣᠶᠠᠳᠣᠭᠠᠷ ᠰᠠᠷᠠ</DefaultFullName> + </Month> + </MonthsOfYear> + <Eras> + <Era> + <EraID>bc</EraID> + <DefaultAbbrvName>ᠮ᠂ ᠡᠡ᠂ ᠦ</DefaultAbbrvName> + <DefaultFullName>ᠮᠠᠨ ᠤ ᠡᠷᠡᠨ ᠦ ᠡᠮᠦᠨᠡᠬᠢ</DefaultFullName> + </Era> + <Era> + <EraID>ad</EraID> + <DefaultAbbrvName>ᠮ᠂ ᠡ</DefaultAbbrvName> + <DefaultFullName>ᠮᠠᠨ ᠤ ᠡᠷᠡᠨ ᠦ</DefaultFullName> + </Era> + </Eras> + <StartDayOfWeek> + <DayID>mon</DayID> + </StartDayOfWeek> + <MinimalDaysInFirstWeek>4</MinimalDaysInFirstWeek> + </Calendar> + </LC_CALENDAR> + <LC_CURRENCY ref="mn_Cyrl_MN"/> + <LC_TRANSLITERATION ref="mn_Cyrl_MN"/> + <LC_MISC> + <ReservedWords> + <trueWord>ᠦᠨᠡᠨ</trueWord> + <falseWord>ᠬᠤᠳᠠᠯ</falseWord> + <quarter1Word>ᠳᠥᠷᠪᠡᠨ ᠦ ᠨᠢᠭᠡ</quarter1Word> + <quarter2Word>ᠳᠥᠷᠪᠡᠨ ᠦ ᠬᠣᠶᠠᠷ</quarter2Word> + <quarter3Word>ᠳᠥᠷᠪᠡᠨ ᠦ ᠭᠤᠷᠪᠠ</quarter3Word> + <quarter4Word>ᠳᠥᠷᠪᠡᠨ ᠦ ᠳᠥᠷᠪᠡ</quarter4Word> + <aboveWord>ᠳᠡᠭᠡᠷᠡ</aboveWord> + <belowWord>ᠳᠣᠣᠷᠠ</belowWord> + <quarter1Abbreviation>1/4</quarter1Abbreviation> + <quarter2Abbreviation>2/4</quarter2Abbreviation> + <quarter3Abbreviation>4/4</quarter3Abbreviation> + <quarter4Abbreviation>4/4</quarter4Abbreviation> + </ReservedWords> + </LC_MISC> + <LC_NumberingLevel ref="mn_Cyrl_MN"/> + <LC_OutLineNumberingLevel ref="mn_Cyrl_MN"/> +</Locale> diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx index 6eec14dd8df5..9c3352e6dc0d 100644 --- a/i18npool/source/localedata/localedata.cxx +++ b/i18npool/source/localedata/localedata.cxx @@ -258,6 +258,7 @@ constexpr struct { { "en_MY", DataLocaleLibrary::OTHERS }, // needs to be in OTHERS instead of EN because currency inherited from ms_MY { "ia", DataLocaleLibrary::OTHERS }, { "mn_Cyrl_MN", DataLocaleLibrary::OTHERS }, + { "mn_Mong_MN", DataLocaleLibrary::OTHERS }, { "az_AZ", DataLocaleLibrary::OTHERS }, { "sw_TZ", DataLocaleLibrary::OTHERS }, { "km_KH", DataLocaleLibrary::OTHERS },