diff --git a/icu4c/data/index.txt b/icu4c/data/index.txt index d5857bb8d88..7d745842e63 100644 --- a/icu4c/data/index.txt +++ b/icu4c/data/index.txt @@ -181,6 +181,9 @@ index { sv_FI, sv_FI_AL, sv_SE, + sw, + sw_KE, + sw_TZ, ta, ta_IN, te, diff --git a/icu4c/data/sw.txt b/icu4c/data/sw.txt new file mode 100644 index 00000000000..89a8123b30b --- /dev/null +++ b/icu4c/data/sw.txt @@ -0,0 +1,92 @@ +// ******************************************************************************* +// * +// * Copyright (C) 1997-2000, International Business Machines +// * Corporation and others. All Rights Reserved. +// * +// ******************************************************************************* +// Date Name Description +// 10/23/2000 grhoten Initial version (source http://www.yale.edu/swahili/) + + +sw { + Version { "x0.1" } + + Countries { + KE { "Kenya" } + TZ { "Tanzania" } + } + DateTimeElements { + "7", + "1", + } +// DayAbbreviations { // The DayNames are correct, but DayAbbreviations are only guesses. +// "Jli", +// "Jtu", +// "Jne", +// "Jno", +// "Alh", +// "Iju", +// "Jsi", +// } + DayNames { + "Jumapili", + "Jumatatu", + "Jumanne", + "Jumatano", + "Alhamisi", + "Ijumaa", + "Jumamosi", + } + Languages { + sw { "Kiswahili" } + } + LocaleID { "0041" } + LocaleString { "sw" } + MonthAbbreviations { + "Jan", + "Feb", + "Mar", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Des", + "", + } + MonthNames { + "Januari", + "Februari", + "Machi", + "Aprili", + "Mei", + "Juni", + "Julai", + "Agosti", + "Septemba", + "Oktoba", + "Novemba", + "Desemba", + "", + } + ShortLanguage { "swa" } + zoneStrings { + { + "Africa/Casablanca", + "GMT", + "GMT", + "GMT", + "GMT", + } + } + +// /**************** Info Below is needed ****************/ +// DayAbbreviations {} +// Eras{} +// NumberElements{} +// AmPmMarkers{} +// localPatternChars{} +} diff --git a/icu4c/data/sw_KE.txt b/icu4c/data/sw_KE.txt new file mode 100644 index 00000000000..18f661df3e3 --- /dev/null +++ b/icu4c/data/sw_KE.txt @@ -0,0 +1,25 @@ +// ******************************************************************************* +// * +// * Copyright (C) 1997-2000, International Business Machines +// * Corporation and others. All Rights Reserved. +// * +// ******************************************************************************* +// Date Name Description +// 10/23/2000 grhoten Initial version + + +sw_KE { + CurrencyElements { + "KSh", + "KES", + "", + } + LocaleString { "sw_KE" } + NumberPatterns { + "#,##0.###;-#,##0.###", + "#,##0.00 \u00A4;-#,##0.00 \u00A4", + "#,##0%", + } + ShortCountry { "KEN" } + LocaleID { "0441" } +} diff --git a/icu4c/data/sw_TZ.txt b/icu4c/data/sw_TZ.txt new file mode 100644 index 00000000000..89d44dc6d79 --- /dev/null +++ b/icu4c/data/sw_TZ.txt @@ -0,0 +1,26 @@ +// ******************************************************************************* +// * +// * Copyright (C) 1997-2000, International Business Machines +// * Corporation and others. All Rights Reserved. +// * +// ******************************************************************************* +// Date Name Description +// 10/23/2000 grhoten Initial version + + +sw_TZ { + CurrencyElements { + "TSh", + "TZS", + "", + } + LocaleString { "sw_TZ" } + NumberPatterns { + "#,##0.###;-#,##0.###", + "#,##0.00 \u00A4;-#,##0.00 \u00A4", + "#,##0%", + } + ShortCountry { "TZA" } +// Microsoft's JDK documentation says that this number is for Kenya only. +// LocaleID { "0441" } +} diff --git a/icu4c/source/common/locmap.cpp b/icu4c/source/common/locmap.cpp index f7e9a227fb6..c3619304958 100644 --- a/icu4c/source/common/locmap.cpp +++ b/icu4c/source/common/locmap.cpp @@ -4,7 +4,7 @@ * Corporation and others. All Rights Reserved. ********************************************************************** */ -// $Revision: 1.15 $ +// $Revision: 1.16 $ // // Provides functionality for mapping between // LCID and Posix IDs. @@ -299,9 +299,7 @@ static const ILcidPosixElement sv[] = { {0x041d, "sv_SE"} }; -// The MSJDK documentation says the default country is Kenya. -ILCID_POSIX_ELEMENT_ARRAY(0x0441, sw, sw_KE) //Todo: Data does not exist - +ILCID_POSIX_ELEMENT_ARRAY(0x0441, sw, sw_KE) // The MSJDK documentation says the default country is Kenya. ILCID_POSIX_ELEMENT_ARRAY(0x0449, ta, ta_IN) ILCID_POSIX_ELEMENT_ARRAY(0x044a, te, te_IN) //Todo: Data does not exist ILCID_POSIX_ELEMENT_ARRAY(0x041e, th, th_TH) diff --git a/icu4c/source/data/locales/index.txt b/icu4c/source/data/locales/index.txt index d5857bb8d88..7d745842e63 100644 --- a/icu4c/source/data/locales/index.txt +++ b/icu4c/source/data/locales/index.txt @@ -181,6 +181,9 @@ index { sv_FI, sv_FI_AL, sv_SE, + sw, + sw_KE, + sw_TZ, ta, ta_IN, te, diff --git a/icu4c/source/data/locales/sw.txt b/icu4c/source/data/locales/sw.txt new file mode 100644 index 00000000000..89a8123b30b --- /dev/null +++ b/icu4c/source/data/locales/sw.txt @@ -0,0 +1,92 @@ +// ******************************************************************************* +// * +// * Copyright (C) 1997-2000, International Business Machines +// * Corporation and others. All Rights Reserved. +// * +// ******************************************************************************* +// Date Name Description +// 10/23/2000 grhoten Initial version (source http://www.yale.edu/swahili/) + + +sw { + Version { "x0.1" } + + Countries { + KE { "Kenya" } + TZ { "Tanzania" } + } + DateTimeElements { + "7", + "1", + } +// DayAbbreviations { // The DayNames are correct, but DayAbbreviations are only guesses. +// "Jli", +// "Jtu", +// "Jne", +// "Jno", +// "Alh", +// "Iju", +// "Jsi", +// } + DayNames { + "Jumapili", + "Jumatatu", + "Jumanne", + "Jumatano", + "Alhamisi", + "Ijumaa", + "Jumamosi", + } + Languages { + sw { "Kiswahili" } + } + LocaleID { "0041" } + LocaleString { "sw" } + MonthAbbreviations { + "Jan", + "Feb", + "Mar", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Des", + "", + } + MonthNames { + "Januari", + "Februari", + "Machi", + "Aprili", + "Mei", + "Juni", + "Julai", + "Agosti", + "Septemba", + "Oktoba", + "Novemba", + "Desemba", + "", + } + ShortLanguage { "swa" } + zoneStrings { + { + "Africa/Casablanca", + "GMT", + "GMT", + "GMT", + "GMT", + } + } + +// /**************** Info Below is needed ****************/ +// DayAbbreviations {} +// Eras{} +// NumberElements{} +// AmPmMarkers{} +// localPatternChars{} +} diff --git a/icu4c/source/data/locales/sw_KE.txt b/icu4c/source/data/locales/sw_KE.txt new file mode 100644 index 00000000000..18f661df3e3 --- /dev/null +++ b/icu4c/source/data/locales/sw_KE.txt @@ -0,0 +1,25 @@ +// ******************************************************************************* +// * +// * Copyright (C) 1997-2000, International Business Machines +// * Corporation and others. All Rights Reserved. +// * +// ******************************************************************************* +// Date Name Description +// 10/23/2000 grhoten Initial version + + +sw_KE { + CurrencyElements { + "KSh", + "KES", + "", + } + LocaleString { "sw_KE" } + NumberPatterns { + "#,##0.###;-#,##0.###", + "#,##0.00 \u00A4;-#,##0.00 \u00A4", + "#,##0%", + } + ShortCountry { "KEN" } + LocaleID { "0441" } +} diff --git a/icu4c/source/data/locales/sw_TZ.txt b/icu4c/source/data/locales/sw_TZ.txt new file mode 100644 index 00000000000..89d44dc6d79 --- /dev/null +++ b/icu4c/source/data/locales/sw_TZ.txt @@ -0,0 +1,26 @@ +// ******************************************************************************* +// * +// * Copyright (C) 1997-2000, International Business Machines +// * Corporation and others. All Rights Reserved. +// * +// ******************************************************************************* +// Date Name Description +// 10/23/2000 grhoten Initial version + + +sw_TZ { + CurrencyElements { + "TSh", + "TZS", + "", + } + LocaleString { "sw_TZ" } + NumberPatterns { + "#,##0.###;-#,##0.###", + "#,##0.00 \u00A4;-#,##0.00 \u00A4", + "#,##0%", + } + ShortCountry { "TZA" } +// Microsoft's JDK documentation says that this number is for Kenya only. +// LocaleID { "0441" } +} diff --git a/icu4c/source/tools/genrb/genrbfiles.mk b/icu4c/source/tools/genrb/genrbfiles.mk index 6e94cee6509..6ec9eab83ec 100644 --- a/icu4c/source/tools/genrb/genrbfiles.mk +++ b/icu4c/source/tools/genrb/genrbfiles.mk @@ -21,44 +21,75 @@ # # -GENRB_SOURCE = root.txt index.txt ar.txt ar_AE.txt\ -ar_BH.txt ar_DZ.txt ar_EG.txt ar_IQ.txt ar_JO.txt\ -ar_KW.txt ar_LB.txt ar_LY.txt ar_MA.txt ar_OM.txt\ -ar_QA.txt ar_SA.txt ar_SD.txt ar_SY.txt ar_TN.txt\ -ar_YE.txt be.txt be_BY.txt bg.txt bg_BG.txt\ -ca.txt ca_ES.txt ca_ES_EURO.txt cs.txt cs_CZ.txt\ -da.txt da_DK.txt de.txt de_AT.txt de_AT_EURO.txt\ -de_CH.txt de_DE.txt de_DE_EURO.txt de_LU.txt\ -de_LU_EURO.txt el.txt el_GR.txt en.txt en_AU.txt\ -en_CA.txt en_BE.txt en_GB.txt en_IE.txt en_IE_EURO.txt\ -en_NZ.txt en_US.txt en_ZA.txt es.txt es_AR.txt\ -es_BO.txt es_CL.txt es_CO.txt es_CR.txt es_DO.txt\ -es_EC.txt es_ES.txt es_ES_EURO.txt es_GT.txt\ -es_HN.txt es_MX.txt es_NI.txt es_PA.txt es_PE.txt\ -es_PR.txt es_PY.txt es_SV.txt es_UY.txt es_VE.txt\ -et.txt et_EE.txt fi.txt fi_FI.txt fi_FI_EURO.txt\ +GENRB_SOURCE = root.txt index.txt\ +af.txt af_ZA.txt\ +ar.txt ar_AE.txt ar_BH.txt ar_DZ.txt ar_EG.txt\ +ar_IQ.txt ar_JO.txt ar_KW.txt ar_LB.txt ar_LY.txt\ +ar_MA.txt ar_OM.txt ar_QA.txt ar_SA.txt ar_SD.txt\ +ar_SY.txt ar_TN.txt ar_YE.txt\ +be.txt be_BY.txt\ +bg.txt bg_BG.txt\ +ca.txt ca_ES.txt ca_ES_EURO.txt\ +cs.txt cs_CZ.txt\ +da.txt da_DK.txt\ +de.txt de_AT.txt de_AT_EURO.txt de_CH.txt\ +de_DE.txt de_DE_EURO.txt de_LU.txt de_LU_EURO.txt\ +el.txt el_GR.txt\ +en.txt en_AU.txt en_BW.txt en_CA.txt en_BE.txt\ +en_GB.txt en_IE.txt en_IE_EURO.txt en_NZ.txt\ +en_US.txt en_ZA.txt en_ZW.txt eo.txt\ +es.txt es_AR.txt es_BO.txt es_CL.txt es_CO.txt\ +es_CR.txt es_DO.txt es_EC.txt es_ES.txt es_ES_EURO.txt\ +es_GT.txt es_HN.txt es_MX.txt es_NI.txt es_PA.txt\ +es_PE.txt es_PR.txt es_PY.txt es_SV.txt es_US.txt\ +es_UY.txt es_VE.txt\ +et.txt et_EE.txt\ +eu.txt eu_ES.txt\ +fa.txt fa_IR.txt\ +fi.txt fi_FI.txt fi_FI_EURO.txt\ fr.txt fr_BE.txt fr_BE_EURO.txt fr_CA.txt fr_CH.txt\ fr_FR.txt fr_FR_EURO.txt fr_LU.txt fr_LU_EURO.txt\ +fo.txt fo_FO.txt\ +ga.txt ga_IE.txt\ +gl.txt gl_ES.txt\ +gv.txt gv_GB.txt\ he.txt he_IL.txt\ -hr.txt hr_HR.txt hu.txt hu_HU.txt is.txt\ -is_IS.txt it.txt it_CH.txt it_IT.txt it_IT_EURO.txt\ -iw.txt iw_IL.txt ja.txt ja_JP.txt ko.txt\ -ko_KR.txt lt.txt lt_LT.txt lv.txt lv_LV.txt\ -mk.txt mk_MK.txt nl.txt nl_BE.txt nl_BE_EURO.txt\ -nl_NL.txt nl_NL_EURO.txt no.txt no_NO.txt no_NO_NY.txt\ -pl.txt pl_PL.txt pt.txt pt_BR.txt pt_PT.txt\ -pt_PT_EURO.txt ro.txt ro_RO.txt ru.txt ru_RU.txt\ -sh.txt sh_YU.txt sk.txt sk_SK.txt sl.txt\ -sl_SI.txt sq.txt sq_AL.txt sr.txt sr_YU.txt\ -sv.txt sv_SE.txt th.txt th_TH.txt tr.txt\ -tr_TR.txt uk.txt uk_UA.txt vi.txt vi_VN.txt\ -zh.txt zh_CN.txt zh_HK.txt zh_TW.txt hi.txt hi_IN.txt mt.txt mt_MT.txt eo.txt\ -kok.txt kok_IN.txt ta.txt ta_IN.txt mr.txt mr_IN.txt\ -af.txt af_ZA.txt en_BW.txt en_ZW.txt es_US.txt eu.txt eu_ES.txt\ -fa.txt fa_IR.txt fo.txt fo_FO.txt ga.txt ga_IE.txt gl.txt\ -gl_ES.txt gv.txt gv_GB.txt id.txt id_ID.txt kl.txt kl_GL.txt\ -kw.txt kw_GB.txt ru_UA.txt\ -sv_FI.txt +hi.txt hi_IN.txt\ +hr.txt hr_HR.txt\ +hu.txt hu_HU.txt\ +id.txt id_ID.txt\ +is.txt is_IS.txt\ +it.txt it_CH.txt it_IT.txt it_IT_EURO.txt\ +iw.txt iw_IL.txt\ +ja.txt ja_JP.txt\ +kl.txt kl_GL.txt\ +ko.txt ko_KR.txt\ +kok.txt kok_IN.txt\ +kw.txt kw_GB.txt\ +lt.txt lt_LT.txt\ +lv.txt lv_LV.txt\ +mk.txt mk_MK.txt\ +mr.txt mr_IN.txt\ +mt.txt mt_MT.txt\ +nl.txt nl_BE.txt nl_BE_EURO.txt nl_NL.txt nl_NL_EURO.txt\ +no.txt no_NO.txt no_NO_NY.txt\ +pl.txt pl_PL.txt\ +pt.txt pt_BR.txt pt_PT.txt pt_PT_EURO.txt\ +ro.txt ro_RO.txt\ +ru.txt ru_RU.txt ru_UA.txt\ +sh.txt sh_YU.txt\ +sk.txt sk_SK.txt\ +sl.txt sl_SI.txt\ +sq.txt sq_AL.txt\ +sr.txt sr_YU.txt\ +sv.txt sv_FI.txt sv_SE.txt\ +sw.txt sw_KE.txt sw_TZ.txt\ +ta.txt ta_IN.txt\ +th.txt th_TH.txt\ +tr.txt tr_TR.txt\ +uk.txt uk_UA.txt\ +vi.txt vi_VN.txt\ +zh.txt zh_CN.txt zh_HK.txt zh_TW.txt TRANSLIT_SOURCE = fullhalf.txt translit_index.txt kana.txt kbdescl1.txt\ larabic.txt lcyril.txt ldevan.txt\