Maybe they could make the route something like

http://www.site.com / :lng / :controller /:action

is $lng is not a good language then $lng will be set to the default
lng of the browser

On Feb 1, 11:12 am, "Na" <[EMAIL PROTECTED]> wrote:
> For your question 2 : use of translation table isn't implemented at
> time, as you can see in file Translate.php
>
> On Jan 31, 9:49 am, Ámon Tamás <[EMAIL PROTECTED]> wrote:
>
> > Larry E. Masters aka PhpNut wrote:
>
> > >     $language = 'deu';
> > >     Configure::write('Config.language', $language);
>
> > > You can also use:
>
> > > $language = 'deu';
> > > $this->Session->write('Config.language', $language);
>
> > Thanks, bud I have a lot of other question about it:
> > 1. I like the url's look like 
> > this:http://sitename/en/controller/actionhowcan I make it? (There was
> > something about it in the old wiki site, but I don't find it)
>
> > 2. There is a sql definition file i18n.sql. How can I use it?
>
> > 3. The drupal working a very similar way, but there when I get a page
> > with __() function (the drupal name is t()) the drupal put the new
> > string to the database, and after there is a front-and for translating.
> > In drupal is an other way to import .po files to the database too. Is
> > there a same way in cake?
>
> > 4. How I see there is no hungarian translation for locales. If I make
> > it, where can I put it?
>
> > --
> > Ámon Tamáshttp://linkfelho.amon.hu


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to