in your default.po you write this
msgid "Anfrage Senden"
msgstr "Send request"
and with the gloabl func __('Anfrage Senden', true);
be sure to write it corectly or your translate won´t work
or did you mean some other stuff
where you from? i´m from austria... if it´s easier for you to write in
german then do this please it´s also for me easier :D
2011/7/25 gloop <[email protected]>
> 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 <[email protected]> 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 <[email protected]>
> >
> >
> >
> >
> >
> >
> >
> > > 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
> > > [email protected] 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
> [email protected] For more options, visit this group
> at http://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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php