cakephp/localized

Cake po files for Cakephp 3

Closed this issue · 8 comments

It seems like cake.po files inside Locale folder, can't be used with Cakephp 3.
Do you plan to create another repository or branch for Cakephp 3's cake.po files ?

We could just make a CakePHP 3 branch (3.x). Or rather new "master" and move the 2.x stuff to a 2.x branch.

👍 on moving the 2.x stuff to a branch and creating a master with 3.x stuff

@dereuromark I started to update this plugin for 3.x.

Do you want me to do a PR on the master branch or should we move the 2.x stuff to a 2.x branch before?

We should split off before that.

@cake17
I merged yours into master. We can now start finalizing the master branch for the first 3.0.0 release.

But the Locale folders are not correct yet.
They should not have a LC_MESSAGES subfolder and the language codes are now two letter:

/deu/LC_MESSAGES/cake.po

becomes

/deu/cake.po

I wonder what to do with those LC_TIME files etc.

@dereuromark nice to see different branches for each version 👍

I can make a PR with two letters for languages and remove LC_MESSAGES folders.
LC_TIME files can now be removed ? I'm not sure but I think the new Chronos library take care of time for all languages ? http://book.cakephp.org/3.0/en/core-libraries/time.html#setting-the-default-locale-and-format-string

I think you are right there. Cool, thx for helping out!

This issue can maybe be closed with opened PR #104.