Hi mates,

I have an problem with i18n I have an plugins called project inside
has locale folder with eng and spa languages in my user view I write
the following

<?php echo $form->input('username', array('label' =>
__d('project','Username',true))); ?>


in my before filter from ProjectAppController:

$locale="es"

Configure::write('Config.language', $locale);
                setlocale(LC_ALL, $locale .'UTF8', $locale .'UTF-8', $locale,
'eng.UTF8', 'eng.UTF-8', 'eng', 'en_US');


but nothing is happening can't see the spanish translation for my
site, may be I am doing something wrong, the cakephp version is 1.3





Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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