Hi!

Internationalization is aways a difficult subject. I have worked on it
for quite some time and recently moved to CakePHP 1.2 to evaluate how
it was implemented there.

I found the following things could be optimized, maybe I am wrong
about some things so I am asking for correction.

- Adding  a new language (for example Welsh) seems to be only possible
by modifying the CakePHP (l18n.php) sources. There should be a way to
bypass the locale mapping if necessary. ???

- The locale mapping defaults to ISO 639-3 language lists to find out
the right locale... Seriously... this is backward.  It may be
appropiate for the auto-browser language feature but for anything else
this list is way too underdeveloped.

The thing is that  locale != language .

Why not use the IANA language registry and their codes - which is alot
easier, alot more unique for small languages, and  also takes account
of language variations?

see:

http://people.w3.org/rishida/utils/subtags/
http://www.iana.org/assignments/language-subtag-registry


As I said, I am a newbie on CakePHP. Is there a way to bypass the
language mappings and determine the /locale/dirname myself?

Regards

Carsten

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to