On 7/18/20 2:08 AM, Paul Wise wrote:
> On Fri, Jul 17, 2020 at 4:42 PM James Valleroy wrote:
> 
>> Provides a language list for gettext automatically generated from
>> Unicode CLDR data.
> 
> Does that mean this package will build-depend on unicode-cldr-core? I
> assume that the generated data will be static, how do you plan to keep
> the two in sync?
> 

Sorry if the description wasn't clear. Upstream ships the CLDR data that they 
need in JSON format (and under Unicode license).
https://github.com/php-gettext/Languages/tree/master/src/cldr-data

At runtime, the JSON files are read and parsed into an instance of a PHP class 
Gettext\Languages\Language. "Generated" in the description actually refers to 
this runtime parsing. The data can be accessed from PHP code or using the 
provided example script export-plural-rules.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to