angular translate function in nga.filed().label() in listview.filters() is nor working.
See original GitHub issueHi,
I found that the code ,listView().filters([nga.field('sn').label('{{"order.sn" | translate}}')])
, cannot work properly.
In the listview.fields([nga.field(‘sn’).label(‘{{“order.sn” | translate}}’)]), it works well. How can i fix the issue.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Angular translate filter in ternary operator - Stack Overflow
I think if you wrap the ternary operator into () , it will work. ... operators we have to use 'translate' directive instead...
Read more >Listview picklist filter loses values on translation when ...
The filter show that values are chosen but when editing filter field no values are checked. Recreate. Create a custom picklist field with...
Read more >How to translate your Angular app with ngx-translate
1. Add ngx-translate to your Angular application 2. Set up the TranslateService in your app.module.ts 3. Create your main language translation file (in...
Read more >Work with translation files - Angular
Create a translation file for each languagelink To create a translation file for a locale or language, complete the following actions. Extract the...
Read more >How To Use ngx-translate with Angular - DigitalOcean
While Angular has some built-in i18n functionality, ngx-translate is a ... extra parameters to the new TranslateHttpLoader() constructor.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I don’t know how your system works, but what I do is : getting the $translate in the run and create my entities and fields of entities with the variables I need.
@wujunbin
my issue got resolved, actually i was using the older version of ng-admin