Hi,

great links, thanks!

Well, in my case, I have to work with an exiting project which gets
relaunched and gets done in cakephp - but keeps the old database, as
the data for the websites gets uploaded my a desktop real estate
software. So in this case I am not able to make any changes on the
database. And this means, I need a own solution.

So therefore I would need to learn, how to use helpers which can
access a database table.
Can you help me with this?

Thanks!

On 16 Sep., 18:49, Teddy Zeenny <[email protected]> wrote:
> You can check out the cakephp i18n.
> Check out both these links maybe they can help 
> you.http://book.cakephp.org/view/1228/Internationalization-Localizationhttp://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 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

Reply via email to