Hacker News new | past | comments | ask | show | jobs | submit login
Unicode CLDR Project (unicode.org)
40 points by alexzeitler 5 months ago | hide | past | favorite | 6 comments



Nowhere in the page is described what "CLDR" stands for or means.

Common Locale Data Repository: "The Common Locale Data Repository (CLDR) is a project of the Unicode Consortium to provide locale data in XML format for use in computer applications. CLDR contains locale-specific information that an operating system will typically provide to applications. CLDR is written in the Locale Data Markup Language (LDML)." [from Wikipedia]

Edit: the page now starts at the beginning, with a definition. My comment was posted while formatting was being edited.


It's right at the top of the page:

> What is CLDR?

> The Unicode Common Locale Data Repository (CLDR) provides key building blocks for software to support the world's languages, with the largest and most extensive standard repository of locale data available. This data is used by a wide spectrum of companies for their software internationalization and localization, adapting software to the conventions of different languages for such common software tasks. It includes:


Funny. The page started at the "How to Use?" section when I posted that comment. I guess their banner "Formatting and links continue to be fixed" is very much true.

Thanks!


I use this for a project trying to get the i18n of a spreadsheet engine right. I wonder what the HN community thinks about the CLDR project. Is this the standard to follow?


Using the cldr (and contributing to it, though that can be frustrating) is likely better than trying to reinvent its dataset.

It has a number of issues which I don’t think it properly warns about (well they’re more LDML issues) e.g. the original date time pattern system had significant cross-cultural compatibility issues if you wanted something other than the main date/time patterns. The skeletons system improves that a lot, but is decidedly less complete.

Also some placeholders are straight up unusable e.g. it was a month-week system which was designed off of the iso weeks system, but doesn’t provide a “month” placeholder for it, so W is literally just a trap.


CLDR could be improved, but it is better than alternatives.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: