Not working with ngx-translate
See original GitHub issueWe are using the ngx-translate module to translate all contents of the angular app. The problem is, that it is not working with the title
and text
attributes of ngx-joyride.
To Reproduce
<div joyrideStep="dashboardStatistics"
[title]="'TOUR.DASHBOARD_STATISTICS.TITLE' | translate"
[text]="'TOUR.DASHBOARD_STATISTICS.TEXT' | translate">
... more content ...
</div>
Expected behavior The translated text should be visible in the tour window.
Screenshots
Details:
- Browser chrome 76
- @angular/core 7.2.15
- ngx-joyride 2.2.10
- ngx-translate 11.0.1
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
translate.use(langCode) is not working in some cases #1258
What I've noticed is that, when I set en as the language in app.component.ts the onLangChange prints an empty object as the translations ......
Read more >angular - Ngx-translate not translating anything - Stack Overflow
By using ngx-translate-extract , I am now using the third approach provided by the tutorial: translation directive — id as a child <element ......
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 >Fix Ngx-translate pipe not found in Angular 11 error [solved]
This error occurs in strict typescript in Angular 11 when using the ngx-translate functionality. In this case I use a core module (which...
Read more >Angular I18n: How to Internationalize with ngx-translate | Phrase
The ngx-translate library allows us to change the language of the application at runtime without reloading the whole app. However, Angular ...
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 FreeTop 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
Top GitHub Comments
I was/am using it like [title]=“TOUR.DASHBOARD_STATISTICS.TITLE”
Hi @iCodr8 ,
I’ve tried but I’m not able to reproduce your bug. Could you please reproduce it on a small app?