Re: comments for translation
On 10/1/07, Claudia <[EMAIL PROTECTED]> wrote: > > Hi there > > I am using the translation function __ in Cake 1.2. > > Is there a way to add a comment to a translatable string (in a ctp > file) to provide some context? You can comment the .pot file which you will provide to the translators - need not clutter the views with comments T -- = Cheesecake-Photoblog: http://cheesecake-photoblog.org PHP for E-Biz: http://sanisoft.com = --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
comments for translation
Hi there I am using the translation function __ in Cake 1.2. Is there a way to add a comment to a translatable string (in a ctp file) to provide some context? Example: The English word 'contact' can mean either the noun contact or the verb 'to contact' so the French translation would be different depending on the meaning. At the moment I use strings like contact_noun or contact_verb which works alright but using the correct English string would be much easier. Aside from having a word with multiple meanings it would also be nice to have context as a help for the translator. Especially if you translate short phrases it is sometimes difficult to get the supposed meaning without knowing any context. Thanks for any tips Claudia --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---