You can simply user: _('mainPage.linkToLogin' ) in your code. But if you want to be more explicit about non translated strings (warn users about non translated strings), why can't use prefix/suffix as we can see in docs:
http://www.symfony-project.org/reference/1_4/en/05-Factories#chapter_05_i18n []'s Rafael Goulart from Brazil On 30 abr, 06:27, "Daniel Kucharski" <dan...@inspiran.be> wrote: > Hi, > > Is it possible to use technical names such as 'loginForm.sendButton' or > 'mainPage.linkToLogin' instead of the actual text for the default culture > in any view template and have it translated through I18n based upon the > culture? > > Kind regards, > > Daniel > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > 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 > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group > athttp://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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 symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en