RE: [symfony-users] Symfony2 JS i18n: How to translate Javascript strings?

2011-05-09 Thread Leo Jokinen
ilto:symfony-users@googlegroups.com] On Behalf Of Gediminas Morkevicius Sent: 9. toukokuuta 2011 16:08 To: symfony-users@googlegroups.com Subject: Re: [symfony-users] Symfony2 JS i18n: How to translate Javascript strings? I will be unmaintanable crap very fast, trust me. JS CSS and HTML is like

Re: [symfony-users] Symfony2 JS i18n: How to translate Javascript strings?

2011-05-09 Thread Gediminas Morkevicius
I will be unmaintanable crap very fast, trust me. JS CSS and HTML is like MVC you have to separate it. That way the code will be maintainable On Mon, May 9, 2011 at 2:42 PM, Donald Tyler wrote: > @Gediminas > > Im curious: Why not use JS with twig? If you need dynamic JS, it seems like > a logic

Re: [symfony-users] Symfony2 JS i18n: How to translate Javascript strings?

2011-05-09 Thread Donald Tyler
@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

Re: [symfony-users] Symfony2 JS i18n: How to translate Javascript strings?

2011-05-09 Thread Gediminas Morkevicius
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 wrote: > Hi all, > > I want to translate JS strings at Symfony 2 but seems that framework does > not supp

[symfony-users] Symfony2 JS i18n: How to translate Javascript strings?

2011-05-09 Thread Leo Jokinen
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