Lukas Kahwe Smith wrote:
> Loïc Vernet wrote:
>> Humm, i was wondering too if my shortcuts functions would be detected, 
>> like :
>>
>> myI18n::translate('Message dfdfds');
>> myAction->setNotice('')
>> myAction->setWarning('')
>> and so on...
> 
> seems like at least in may they were not:
> http://symfony.sopca.com/2007/05/11/easier-i18n-xliff-message-generation/

thinking some more .. the ability of finding all possible text to 
translate is absolutely critical. so critical that it really needs to be 
solved in a reliable way.

this means text written in any location _has_ to be identifiable as a 
translation key. whatever it takes!

this means that again you should at all cost prevent the use of php 
variables or constants inside your translation keys. there is of course 
on area where you can do little to nothing to prevent this and that is 
if text comes from an outside source. here we at least need ways of 
detecting places where variables/constants are used, so that we can 
easily trace them to the outside source to ensure that the possible 
return values are also added to the system.

regards,
Lukas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to