localization

5 views
Skip to first unread message

Ramon

unread,
Sep 6, 2009, 2:43:07 AM9/6/09
to LilBlogs
Hi,

I'm trying to change the language

I've created two files by using PoEdit
- app\plugins\lil_blogs\locale\nl\LC_MESSAGES\lil_blogs.po
- app\plugins\lil_blogs\locale\nl\LC_MESSAGES\lil_blogs.mo

Then, I configured cakephp to use dutch (nl) by adding
Configure::write('Config.language', 'nl');
in app\config\core.php

What more should I do to get this working?
Where can I Share the dutch language file?

Thanks in Advance!

Ramon


malamalca

unread,
Sep 6, 2009, 2:54:46 PM9/6/09
to LilBlogs
Actually that's all you have to do. It should work even without
Configure::write('Config.language', 'nl'); - CakePhp will try to
autodetect your language, so it's best not to set it, unless you want
your page in one language only.
It works seamlesly in my language (slovenian).

Try changing your "nl" folder to "nld" (as per ISO 639-3 spec which is
used in cakephp):
app\plugins\lil_blogs\locale\nld\LC_MESSAGES\lil_blogs.po

If this works, please do send me your translation and I'll include it
in LilBlogs repository.

Cheers.

Ramon

unread,
Sep 7, 2009, 6:49:28 AM9/7/09
to LilBlogs
Hi,

Thanks for your reaction.

I changed "nl" in "dut". That does the trick.

I will send you the translation when finished!

Kind regards,
Ramon
Reply all
Reply to author
Forward
0 new messages