not display text (ngxtranslate)
See original GitHub issueWhen I insert text in option as {{‘key’ | translate}} and refresh page, translations disappear
AND
when change language text in option not change
https://github.com/ngx-translate/core << module translation
<ng-select #resetReferenceType="ngModel" class="custom" placeholder="{{'sort.all' | translate}}" [clearable]="false" [markFirst]="true"
[searchable]="false" [(ngModel)]="interactionTypeId" (add)="changeInteractionType($event)" bindLabel="label" bindValue="id">
<ng-option [value]="'ALL'"> {{'sort.all' | translate}}</ng-option>
<ng-option [value]="'OPEN'"> {{'sort.open' | translate}}</ng-option>
<ng-option [value]="'CLOSED'"> {{'sort.close' | translate}}</ng-option>
</ng-select>
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:10 (2 by maintainers)
Top Results From Across the Web
ngx-translate does not show translated text - Stack Overflow
this.translate.get('home.menu', {value: 'Hey !'}).
Read more >How to translate your Angular 6 app with ngx-translate
This tutorial uses the Angular 6 together with ngx-translate 10. A version of the tutorial covering Angular 7 is available from here: How...
Read more >Applying markup to translations in Angular applications (the ...
Supporting translated text with markup in Angular applications is challenging. A proper solution is presented in this article.
Read more >Configuring ngx-translate to load at startup in Angular
The problem is that ngx-translate lazyloads translations. It doesn't matter when you need to translate a message or a component, ...
Read more >Making Your App Ready for Translations
If a translation is not available in the user's language, the English file is used by default. In this tutorial we'll show how...
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
http://sergio07.vot.pl/ > live
https://github.com/SrgGs/example > repo clean only translate and ng select
Only way of getting this around i think is pipe creation. I don’t like page reload as solution, cause don’t want to make multiple unnecessary requests.