Hide translation labels until language file is loaded
See original GitHub issueI’m submitting a … (check one with “x”)
[x] bug report
[ ] support request
[ ] feature request
Question How do I hide translation labels until language file is loaded? I assume this would involve some kind of cloak directive.
Current behavior
Problem is when I have something like {{ Section.Title | translate }}
, Section.Title
is visible until language file is loaded.
- ngx-translate version: latest
- Angular version: 4.0
Issue Analytics
- State:
- Created 6 years ago
- Reactions:30
- Comments:16
Top Results From Across the Web
angular-translate is not translating with loaded static file
If it is not found, in your template, it will just print out label.test instead of the actual translation It works from JSON....
Read more >Considerations for Working with Translation Files
Deleting a translation value, row, or trans-unit tag in the file doesn't remove the translation after the file is imported. To delete a...
Read more >Configuration Options - i18next documentation
language to use if translations in user language are not available. Setting it explicitly to false will not trigger to load the fallbackLng...
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 >Working with SalesForce Translation Files (stf Files)
Working with the Bilingual File · An asterisk (*): The label is out of date. A change was made to the default language...
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
@lazabazsa
That’s what I do. (LocalSettingsService= custom service, Store = ngrx store)
and
Has anyone found a solution to this issue?