goldmorphin Posted September 3, 2017 Posted September 3, 2017 Hello! Any ideas, how i can add language keys in JavaScripts? I find this: And it's working for templates, but not for JS, any ideas?
Fosters Posted September 3, 2017 Posted September 3, 2017 You need a separate file called jslang.php for the javascript language keys.
goldmorphin Posted September 3, 2017 Author Posted September 3, 2017 Hello, @Fosters And what next? IPS automaticly parse this file? In JS i need add {lang="KEY"} ?
goldmorphin Posted September 3, 2017 Author Posted September 3, 2017 Close. In your JS file put: ips.getString('YOUR_KEY')
Fosters Posted September 3, 2017 Posted September 3, 2017 5 minutes ago, goldmorphin said: Close. In your JS file put: ips.getString('YOUR_KEY') Exactly
Recommended Posts
Archived
This topic is now archived and is closed to further replies.