Locale in JS

tijs's Avatar

tijs

17 Apr, 2012 10:21 PM

Parse the locale to a json-file, and extend jsFrontend so it can grab locale:

jsFrontend.locale.lbl('key');

This way more files don't need to be parsed through PHP

  1. Support Staff 1 Posted by mlitn on 17 Apr, 2012 10:25 PM

    mlitn's Avatar

    I'm pro!

  2. Support Staff 2 Posted by tijs on 07 Aug, 2012 08:29 PM

    tijs's Avatar

    Done.

  3. tijs closed this discussion on 07 Aug, 2012 08:29 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac