{"action":"created","issue":{"url":"https://api.github.com/repos/signalpoint/DrupalGap/issues/668","labels_url":"https://api.github.com/repos/signalpoint/DrupalGap/issues/668/labels{/name}","comments_url":"https://api.github.com/repos/signalpoint/DrupalGap/issues/668/comments","events_url":"https://api.github.com/repos/signalpoint/DrupalGap/issues/668/events","html_url":"https://github.com/signalpoint/DrupalGap/issues/668","id":119154423,"number":668,"title":"Translate function for ver. 2 Does not work...","user":{"login":"pk-pro","id":16043998,"avatar_url":"https://avatars.githubusercontent.com/u/16043998?v=3","gravatar_id":"","url":"https://api.github.com/users/pk-pro","html_url":"https://github.com/pk-pro","followers_url":"https://api.github.com/users/pk-pro/followers","following_url":"https://api.github.com/users/pk-pro/following{/other_user}","gists_url":"https://api.github.com/users/pk-pro/gists{/gist_id}","starred_url":"https://api.github.com/users/pk-pro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pk-pro/subscriptions","organizations_url":"https://api.github.com/users/pk-pro/orgs","repos_url":"https://api.github.com/users/pk-pro/repos","events_url":"https://api.github.com/users/pk-pro/events{/privacy}","received_events_url":"https://api.github.com/users/pk-pro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/signalpoint/DrupalGap/labels/7.x-2.x","name":"7.x-2.x","color":"c7def8"},{"url":"https://api.github.com/repos/signalpoint/DrupalGap/labels/Support%20Request","name":"Support Request","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-27T08:48:18Z","updated_at":"2015-11-27T14:31:36Z","closed_at":null,"body":"Hello!\r\nI tried all ways to add a new locale, but for version 1. How to deal with DrupalGap 2.x? Does not work..."},"comment":{"url":"https://api.github.com/repos/signalpoint/DrupalGap/issues/comments/160150940","html_url":"https://github.com/signalpoint/DrupalGap/issues/668#issuecomment-160150940","issue_url":"https://api.github.com/repos/signalpoint/DrupalGap/issues/668","id":160150940,"user":{"login":"signalpoint","id":671140,"avatar_url":"https://avatars.githubusercontent.com/u/671140?v=3","gravatar_id":"","url":"https://api.github.com/users/signalpoint","html_url":"https://github.com/signalpoint","followers_url":"https://api.github.com/users/signalpoint/followers","following_url":"https://api.github.com/users/signalpoint/following{/other_user}","gists_url":"https://api.github.com/users/signalpoint/gists{/gist_id}","starred_url":"https://api.github.com/users/signalpoint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signalpoint/subscriptions","organizations_url":"https://api.github.com/users/signalpoint/orgs","repos_url":"https://api.github.com/users/signalpoint/repos","events_url":"https://api.github.com/users/signalpoint/events{/privacy}","received_events_url":"https://api.github.com/users/signalpoint/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T14:31:36Z","updated_at":"2015-11-27T14:31:36Z","body":"@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."}}