Closed knuhol closed 9 years ago
Why would you need this versus just calling gettextCatalog.getString('Home')?
On Friday, April 24, 2015, Akarienta notifications@github.com wrote:
Is it possible to have also extraction from filters which are in strings in JavaScript files? Angular-gettext supports it.
e.g.
app.config(function($stateProvider) { $stateProvider.state('welcome', { url : '/', templateUrl: 'index.html', ncyBreadcrumb : { label: '{{"Home"|translate}}' } }); });
— Reply to this email directly or view it on GitHub https://github.com/rubenv/angular-gettext-tools/issues/88.
It is not possible in a config phase: https://github.com/rubenv/angular-gettext/issues/168
I'd rather support using gettext
as a provider than implement this. There's a PR for that out there already. I'll see if we can get it merged in.
Is it possible to have also extraction from filters which are in strings in JavaScript files? Angular-gettext supports it.
e.g.