Hi When an error message needs to be translated, we can use the text as is for <source></source>.
For example if I have a YAML file as following: fields: user_name: required: msg: User name is required I can do something like this: <source>User name is required</source> <target>translated text here</target> In there any way to specify which YAML file is used? In templates, we can <?php echo __("User name is required", null, "filename"); ?> I'm trying to have any validation error messages in specific files (e.g., validate.en.xml). Takaaki -- Takaaki Kato http://samuraicoder.net --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---