OH i try it again and with Configure::write('Config.language', 'en');
it works fine!

How can i include the german language?

On 25 Jul., 17:03, Davor Ilic <webfa...@gmail.com> wrote:
> i´ve use it like that __('test', true);
>
> but also you have to define some vars to switch did from en to other lang
> you?
>
> 2011/7/25 gloop <gl...@web.de>
>
>
>
>
>
>
>
> > Hello,
>
> > i search a whole time in the web for multilanguage in CakePHP. I found
> > that must create a folder in /app/locale/deu/LC_MESSAGE with a file
> > default.po. These musst filled with:
>
> > msgid "test"
> > msgstr "here the text"
>
> > that could use in the *.ctp with:
>
> >    <?php __('test');?>
>
> > if the entry not found it would write "test".
>
> > Default is in CakePHP "en".
>
> > Now i've write in /app/locale/eng/LC_MESSAGE/default.po for testing
> > the same text like in the german version, but it writes always the
> > "msgid".
>
> > I've never managed to write the "msgstr".
>
> > Can anyone help me with my problem :(
>
> > Kind regards
> > gloop
>
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> >http://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group
> > athttp://groups.google.com/group/cake-php

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to