summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2021-10-19 22:04:06 +0200
committerEike Rathke <erack@redhat.com>2021-10-19 23:09:53 +0200
commitf7f1763727b23fb84717e83978c2c0b2c66b9f55 (patch)
tree04c968d1016cdd8691e938b1f623df3cfc195c8e /i18npool
parent607bc9fe13741d034ed2638e70b3ea0429fff039 (diff)
Resolves: tdf#145173 Add English (Israel) {en-IL} locale data
Mainly inherit from he_IL but the calendars from en_US that also already define the Jewish calendar items with English names. Jewish calendar date formats also from en_US LC_FORMAT_1. Change-Id: I0907898190adcd46687ca1308fe6785fd9c9c4ad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123845 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/Library_localedata_others.mk1
-rw-r--r--i18npool/source/localedata/data/en_IL.xml43
-rw-r--r--i18npool/source/localedata/localedata.cxx3
3 files changed, 46 insertions, 1 deletions
diff --git a/i18npool/Library_localedata_others.mk b/i18npool/Library_localedata_others.mk
index a6246b8b24c2..d22d8b46e06b 100644
--- a/i18npool/Library_localedata_others.mk
+++ b/i18npool/Library_localedata_others.mk
@@ -51,6 +51,7 @@ $(eval $(call gb_Library_add_generated_exception_objects,localedata_others,\
CustomTarget/i18npool/localedata/localedata_ebo_CG \
CustomTarget/i18npool/localedata/localedata_ee_GH \
CustomTarget/i18npool/localedata/localedata_en_HK \
+ CustomTarget/i18npool/localedata/localedata_en_IL \
CustomTarget/i18npool/localedata/localedata_en_IN \
CustomTarget/i18npool/localedata/localedata_en_MY \
CustomTarget/i18npool/localedata/localedata_eo \
diff --git a/i18npool/source/localedata/data/en_IL.xml b/i18npool/source/localedata/data/en_IL.xml
new file mode 100644
index 000000000000..9ab57ad26902
--- /dev/null
+++ b/i18npool/source/localedata/data/en_IL.xml
@@ -0,0 +1,43 @@
+<?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.2" >
+ <LC_INFO>
+ <Language>
+ <LangID>en</LangID>
+ <DefaultName>English</DefaultName>
+ </Language>
+ <Country>
+ <CountryID>IL</CountryID>
+ <DefaultName>Israel</DefaultName>
+ </Country>
+ </LC_INFO>
+ <LC_CTYPE ref="he_IL"/>
+ <LC_FORMAT ref="he_IL" replaceFrom="[CURRENCY]" replaceTo="[$‎₪-B409]"/>
+ <LC_FORMAT_1 ref="en_US"/>
+ <LC_COLLATION ref="en_US"/>
+ <LC_SEARCH ref="en_US"/>
+ <LC_INDEX ref="en_US"/>
+ <LC_CALENDAR ref="en_US"/>
+ <LC_CURRENCY ref="he_IL"/>
+ <LC_TRANSLITERATION ref="en_US"/>
+ <LC_MISC ref="en_US"/>
+ <LC_NumberingLevel ref="en_US"/>
+ <LC_OutLineNumberingLevel ref="en_US"/>
+</Locale>
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index 145b576f16fc..5aecfa32a7fd 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -333,7 +333,8 @@ const struct {
{ "ilo_PH", lcl_DATA_OTHERS },
{ "ha_Latn_NG", lcl_DATA_OTHERS },
{ "min_ID", lcl_DATA_OTHERS },
- { "sun_ID", lcl_DATA_OTHERS }
+ { "sun_ID", lcl_DATA_OTHERS },
+ { "en_IL", lcl_DATA_OTHERS } // needs to be in OTHERS instead of EN because inherits from he_IL
};
#else