Laura Arjona Reina web interface i18n: it works!

Laura Arjona Reina at

Thanks Mozillians and friends for your support!
I just updated the issue,
Tomorrow I hope I can provide a patch.

Sebas Pedersen, sazius old account, XRevan86, etalas and 7 others likes this.

n2t, n2t shared this.

The good news is that I just submitted a pull request (#863) for a minimal i18n support (and updated the issue #502).
The bad news is that I tested without errors when inserting gettext commands in layout.utml but does not work when doing the same in other templates (e.g. main.utml). I get "Undefined command gettext" when rendering the page :(
I suppose the problem is that I put the JS code in the wrong place.
So I'm stuck here. I hope other people can continue this work or guide me a bit...

Laura Arjona Reina at 2013-10-27T14:13:58Z

I just got it to work on main.utml and other templates too. It's true that the i18n.abide function call should be placed with the rest of the middleware (app.use) calls, but that is not the problem, since it works even without changing the app.js from your i18n branch. I would like to try to replicate and debug the issue, could you please send me the full error message you're getting and the modified version of main.utml that is causing it?

digital dreamer at 2013-11-09T13:01:36Z