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
diff --git a/i18npool/Library_localedata_others.mk b/i18npool/Library_localedata_others.mk
index a6246b8..d22d8b4 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 0000000..9ab57ad
--- /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 145b576..5aecfa3 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