Monday, February 10, 2014

Re: Localization extract comments



On Monday, 10 February 2014 14:22:10 UTC+1, John Doe wrote:
Hi,

can I do something like that in CakePHP?

/// TRANSLATORS: Please leave %s as it is, because it is needed by the program.  /// Thank you for contributing to this project.  printf(_("My name is %s.\n"), my_name);

Not without writing your own parse function. That particular comment looks more appropriate to put in a CONTRIBUTING.md type file - unless you want to scatter it throughout your code base.

AD

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: