[Solar-talk] Locale files
Rodrigo Moraes
rodrigo.moraes at gmail.com
Thu Aug 16 10:12:36 CDT 2007
On 8/16/07, Antti Holvikari wrote:
> Im starting the locale discussion here which we already started on #solarphp.
>
> Ok so, the problem with the current locale implementation is that
> it's a living hell trying to maintain all the locale files. They're
> everywhere and you don't know if and what is missing from every file.
Hi,
If the problem is only management of existing locales and easy
creation of new ones, I'd suggest the following: always keep en_US
complete, and build an iterator to generate a package comparing
english with other existing languages: it would create subdirectories
and files with the defined keys and placeholders for undefined keys
(everything empty for new languages, of course). Perhaps generate a
report in the end about what is missing and what is complete.
With such tool, we don't need to change Solar locale structure to make
locales manageable.
-- rodrigo
More information about the Solar-talk
mailing list