signalpoint / DrupalGap

An application development kit for Drupal websites.
https://www.drupalgap.org
GNU General Public License v2.0
232 stars 186 forks source link

Translate function for ver. 2 Does not work... #668

Open pk-pro opened 8 years ago

pk-pro commented 8 years ago

Hello! I tried all ways to add a new locale, but for version 1. How to deal with DrupalGap 2.x? Does not work...

signalpoint commented 8 years ago

@pk-pro I personally haven't tried locale in v2 yet (I actually haven't touched v2 in a few months), but I'm guessing it isn't 100% complete yet. But, I'd recommend manually including your locale .js file(s) in your index.html file, so they get loaded into the scope, because in v2 nothing is automatically loaded any more, as it is now up to the developer to decide what is included in the app via the index.html file.