@Gediminas Im curious: Why not use JS with twig? If you need dynamic JS, it seems like a logical solution.
On Mon, May 9, 2011 at 3:34 AM, Gediminas Morkevicius < gediminas.morkevic...@gmail.com> wrote: > old fashioned way as for javascript, I recommend including different js > file. > thats my opinion. I surely do not recommend mixing the js with twig > > > On Mon, May 9, 2011 at 10:20 AM, Leo Jokinen <leo.joki...@snoobi.com>wrote: > >> Hi all, >> >> I want to translate JS strings at Symfony 2 but seems that framework does >> not support that directly. >> Any idea how to accomplish this? >> >> Found this article, but it's not Symfony 2: >> >> http://kahthong.com/symfony-framework-using-i18n-translation-feature-javascript-files >> >> -Leo- >> >> -- >> 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 >> > > -- > 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 > -- 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