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/action how can 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ás
http://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
-~----------~----~----~----~------~----~------~--~---