I try to use the localization of Cake.
I have se in my errors.po:
msgid "The submitted file extension is not permitted, only %s
permitted."
msgstr "L'estensione del file caricato non è permessa, solo %s sono
permesse."
But in my code when I have this __d('errors',''The submitted file
extension is not permitted, only jpeg,png,gif permitted.); I don't get
the translation
Instead If I use :
msgid "The submitted file extension is not permitted, only
jpeg,png,gif permitted."
msgstr "L'estensione del file caricato non è permessa, solo
jpeg,png,gif sono permesse."
All works fine.
I don't understand where is the error. I hope someone can help me
Many Thanks
Marco
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment