Wednesday, February 2, 2011

Re: Internationlization Doesn't Seem to Work.

Hi Nikola,

as euromark said: the folder name should be deu not ger. Just made the same
mistake some days ago. ;c)

Anja

Am Mittwoch, 2. Februar 2011, um 00:52:55 schrieb Salines:
> Do you have other files in the app/locale/ger/LC_MESSAGES/ ??
>
> On 1 velj, 01:21, andrewperk <andrewp...@gmail.com> wrote:
> > Hello, I'm trying to get my application to use a different language
> > using cake's i18n. I believe I have my application set up properly.
> >
> > core.php
> > Configure::write('Config.language', 'ger');
> >
> > Posts Controller Flash message:
> > $this->Session->setFlash(__('You must be registered before you can ask
> > a question.', true), 'error');
> >
> > app/locale/ger/LC_MESSAGES/default.po (created using i18n console
> > then poedit)
> > The translation should be:
> > Sie müssen registriert sein, bevor Sie eine Frage kann fragen.
> >
> > But my application is not using the translated version from my .po
> > file. Its still using the english version.
> >
> > Am I missing something here? Thanks for any help.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: