Search Results

Search found 1 results on 1 pages for 'stefans'.

Page 1/1 | 1 

  • Rails i18n and routes in javascript

    - by StefanS
    Sometimes it would be really handy to have the Rails localization files available in JavaScript. Same is true for for the routes helpers. I found these two plugins which are exactly doing this: Exposing i18n to JavaScript: http://github.com/fnando/i18n-js Rails Routes in JavaScript: http://tore.darell.no/pages/javascript_routes My questions: Are there any other plugins / gems doing similar things like the two above? What's the right approach in Rails? Meta tag? Additional data- attributes? Thanks for any input!

    Read the article

1