RE: i18n 1.2 - database tables

2007-02-04 Thread Mariano Iglesias
03:58 p.m. Para: Cake PHP Asunto: Re: i18n 1.2 - database tables I have done some reading on gettext since your post and wondered if creating the pot files is possible using 'xgettext' command? since the strings that need translating in the cake views are not wrapped using PHP's gettext() function

Re: i18n 1.2

2007-02-01 Thread Na
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

Re: i18n 1.2

2007-02-01 Thread MBmax
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

Re: i18n 1.2

2007-01-31 Thread Ámon Tamás
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

How to use i18n with database in CakePHP 1.2

2007-01-31 Thread palPalani
hi, I have found solution for implementing multilingual static content in CakePHP 1.2. I want to know, how to use database based multilingual content. please help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: How to use the new Cake PHP i18N and l10N

2007-01-31 Thread palPalani
Hi, Checkout the link, http://groups.google.com/group/cake-php/browse_thread/thread/2f9d4367bfd43f38/?lnk=igtc# On Jan 10, 12:05 am, Sebastian Macias [EMAIL PROTECTED] wrote: Can anybody post a short example of this new feature usage? I found this in the bakery: Its mostly automagic, just

i18n 1.2

2007-01-30 Thread Ámon Tamás
How does working this i18n feature in 1.2? I like to make a multilangual site with 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

Re: i18n 1.2

2007-01-30 Thread Kaste
How does working this i18n feature in 1.2? I like to make a multilangual site with it... first steps should be easy. in your view [index.ctp] ? __(Hello, my friend); ? create /app/locale/deu/LC_MESSAGES/default.po (** deu = your LANGUAGE code **) [default.po] msgid Hello, my friend

Re: i18n 1.2

2007-01-30 Thread Michael Grunewalder
That was a good start. Thanks. How do I select a language so that the user can change the language while browsing.? thanks in advance :-) Kaste wrote: How does working this i18n feature in 1.2? I like to make a multilangual site with it... first steps should be easy. in your view

Re: i18n 1.2

2007-01-30 Thread Michael Grunewalder
: That was a good start. Thanks. How do I select a language so that the user can change the language while browsing.? thanks in advance :-) Kaste wrote: How does working this i18n feature in 1.2? I like to make a multilangual site with it... first steps should be easy

Re: i18n 1.2

2007-01-30 Thread Larry E. Masters aka PhpNut
I found one way, is that the proper way? The correct way would be: $language = 'deu'; Configure::write('Config.language', $language); -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */

Re: i18n 1.2

2007-01-30 Thread Larry E. Masters aka PhpNut
$language = 'deu'; Configure::write('Config.language', $language); You can also use: $language = 'deu'; $this-Session-write('Config.language', $language); -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */

Re: i18n 1.2

2007-01-30 Thread Michael Grunewalder
Thanks a lot :-) Larry E. Masters aka PhpNut wrote: I found one way, is that the proper way? The correct way would be: $language = 'deu'; Configure::write('Config.language', $language); -- /** * @author Larry E. Masters * @var string $userName * @param string $realName *

How to use the new Cake PHP i18N and l10N

2007-01-09 Thread Sebastian Macias
Can anybody post a short example of this new feature usage? I found this in the bakery: Its mostly automagic, just use the __() method to wrap your static text. Then put some po in the locale and get jiggy with it. You can see it in action now[5], the site should display in the language your

i18n working with locale component, Help!

2006-12-07 Thread ERic ZoU
Hi, All, I am creating a website tht have 3 different lanuage version. And I try to use the Locale Package. It great. But, Create or edit this file /app/views/layouts/default.thtml, adding this line anywhere. ?php echo $this-renderElement('language', $params) ? Now the user need only press a

<    1   2   3   4   5