Set the language by setting a language code on the catalog:
angular.module('myApp').run(function (gettextCatalog) {
gettextCatalog.setCurrentLanguage('nl');
});
You can do this anywhere in your application, the use of a run
block above is just an example.
You can enable a debugging mode to clearly indicate untranslated strings:
angular.module('myApp').run(function (gettextCatalog) {
gettextCatalog.debug = true;
});
This will prepend [MISSING]:
to each untranslated string.