Hello Haiyang,
Thanks for your comment, i'm glad that you liked my site.
Well, I had been coding website for around 9 years, most of them in
PHP.
Yes, it took me only 2 weeks, even there are still some little bugs to
fix.
About how to manage the languages... is quite easy... 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...
easy, right? ; )

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 [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