Timezone areas - mapping and localizing
Christian Schmidt via CLDR-Users
cldr-users at unicode.org
Fri Apr 6 15:18:07 CDT 2018
Thanks :-)
Do you think it would make sense to file feature requests for
1) the mapping from tzdata areas to CLDR territory codes, and
2) creating new CLDR territories (with localised names) corresponding to the oceans?
Or is this outside the scope of CLDR?
Christian
> On 4 Apr 2018, at 09.09, Mark Davis ☕️ <mark at macchiato.com> wrote:
>
> CLDR supplies names for the UN M.49, and the mapping from country/region code to those.
>
> There is a chart on https://www.unicode.org/cldr/charts/33/supplemental/territory_containment_un_m_49.html <https://www.unicode.org/cldr/charts/33/supplemental/territory_containment_un_m_49.html> (using data from the source XML).
>
> Note that the UN M.49 generally matches the 'area' part: Africa [002] contains Burundi [BI] and hence Africa/Bujumbura
>
> But it doesn't for the areas named after oceans (Indian, Pacific, Atlantic), except that Oceania [009] is close to Pacific. There are also a few other differences: eg, the UN puts the nation of Turkey (TR) into Asia [142] (makes sense, given that the vast majority is in Asia), but because Istanbul is in Europe, the TZDB has the Europe area.
>
> Here are charts of the UN regions: https://www.unicode.org/cldr/charts/33/by_type/locale_display_names.geographic_regions.html <https://www.unicode.org/cldr/charts/33/by_type/locale_display_names.geographic_regions.html>
>
> For example, Europe:
> https://www.unicode.org/cldr/charts/33/by_type/locale_display_names.geographic_regions.html#5cfb1873d2bc4b69 <https://www.unicode.org/cldr/charts/33/by_type/locale_display_names.geographic_regions.html#5cfb1873d2bc4b69>
>
> Again, you don't want to scrape the charts, but instead get the data from the XML files.
>
>
> Mark
>
> On Wed, Apr 4, 2018 at 8:33 AM, Christian Schmidt via CLDR-Users <cldr-users at unicode.org <mailto:cldr-users at unicode.org>> wrote:
> I would like to show a list of timezones grouped by the area part of timezone identifier, e.g. Europe in Europe/Copenhagen. I want to show the localised area name.
>
> I have two questions:
>
> 1. The territory code for Europe is 150. Is there an official mapping from area names (e.g. Europe) to territory codes (e.g. 150), I can use?
> 2. I cannot find territories in CLDR matching all regions, e.g. Pacific or Atlantic. Did I miss something?
>
>
> Thanks,
>
>
> Christian
>
>
> _______________________________________________
> CLDR-Users mailing list
> CLDR-Users at unicode.org <mailto:CLDR-Users at unicode.org>
> http://unicode.org/mailman/listinfo/cldr-users <http://unicode.org/mailman/listinfo/cldr-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://unicode.org/pipermail/cldr-users/attachments/20180406/5d8e955b/attachment.html>
More information about the CLDR-Users
mailing list