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

Recent Discussions

11 Sep, 2019 09:58 AM
27 Jun, 2019 08:44 AM
18 Jun, 2019 05:37 PM
14 Jun, 2019 07:45 AM
02 Jun, 2019 03:33 PM

 

31 May, 2019 05:14 AM
10 Apr, 2019 10:27 AM
27 Mar, 2019 11:03 AM
26 Mar, 2019 08:10 PM
20 Mar, 2019 06:47 AM
12 Mar, 2019 12:19 AM