I assume that you have read the CakePHP book, the section about
Internationalizing your application!
http://book.cakephp.org/view/162/Internationalizing-Your-Application

In your code, use the __() or __d() functions to retrieve the french
text, and do not use non-latin characters in the application.

Your example would become:
<?php echo $html->link( __('Mot de passe oublie',true), true), array
('controller' => 'users', 'action' => 'passwordreset'));?>

In your french .po file:
msgid "Mot de passe oublie"
msgstr "Mot de passe oublié"

Resulting in presenting the link as:
<a href="/passwordreset">Mot de passe oublié</a>

Hope this helps you on the way ;)
   John



On Nov 12, 8:16 pm, Julia <[email protected]> wrote:
> I have, I am 99% sure it is not the issue. I am a beginner in PHP thus
> I cannot really dig/debug. I think it is a bug since in the HTML code
> generated by cakePHP simply "skips" the string to be displayed: <a
> href="/passwordreset"></a>  (see initial post).
>
> Could anyone try it on one of your code:
>
> Just copy and past the character 'é' in one of your $html->link   and
> see.
>
> you will see immediatly if it works, will help to see if it is more
> likly to be a bug or a config issue on my side ...?
>
> Thanks.

--

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=.


Reply via email to