You can check out the cakephp i18n.
Check out both these links maybe they can help you.
http://book.cakephp.org/view/1228/Internationalization-Localization
http://book.cakephp.org/view/1328/Translate


On Fri, Sep 16, 2011 at 7:20 PM, heohni <
[email protected]> wrote:

> Thanks Ryan :-)
>
> Another question.
>
> All translations are coming from the database.
> I thought i would need a helper function, but I don't think it makes
> sense to place mysql statements in a helper?
>
> Should I create a own model/controller for the translations?
> With a controller function called getTranslation($id) and return the
> word string.
>
> But how do I call this controller function from the helper file?
>
> Thanks in advance!!
>
> On 16 Sep., 15:40, Ryan Schmidt <[email protected]> wrote:
> > On Sep 16, 2011, at 04:32, heohni wrote:
> >
> > > I have a section in my web project where I have to load from the
> > > database the possible languages and their infos like flag image name,
> > > ID, shortcut, etc.
> >
> > Languages do not have flags.
> >
> > http://www.cs.tut.fi/~jkorpela/flags.html
>
> --
> 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

Reply via email to