I want to translate in french "Edit" to "Modifier" and "Tomatoes" to
"Tomates".

I don't think that the first methos works. If in my default.po i put :

msgid "Edit %s"
msgstr "Modifier %s"

The result is "Modifier Tomatoes" (a mixture of French and English)

If it works for you, can you explain me what you put in your
default.po ?

I think that "sprintf(__("Edit %s", true), __($name, true))" could be
a good method ?
With :

msgid "Edit"
msgstr "Modifier"

msgid "Tomatoes"
msgstr "Tomates"


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