About how to manage diferent languages... In my website I use the
following:
I have a PHP file for each language, with text variables on it... for
example:

english.php
  $lguser = 'User';
  $lgname = 'Name: ';
spanish.php
  $lguser = 'Usuario';
  $lgname = 'Nombre: ';

So in the views [ HTML ] i include the language file depending on the
user's selection -> <?php include($language); ?> and instead of
showing static text I use the variables on those language files...  <?
php  echo $lgname; ?> easy, right? ; )

You can check it working on my website... I manage 4 languages:
English, Japanese, Spanish and Catalan

Rohman
http://www.rohmansama.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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