ngx-translate Questions
2
Solved
I've implemented ngx-translate in my Angular-Cli app and works fine when I do something like:
<div>{{ 'some.value' | translate }}</div>
But how can I go about translating an attribut...
Buskin asked 22/11, 2017 at 8:14
1
Solved
Probably one of the most common questions, while the documentation and some other questions I found try to clear up things for me, yet I am still not sure how to fix this.
So this is my structure:...
Colporteur asked 21/11, 2018 at 13:53
2
Solved
I'm using ngx-translate in my Angular application. I'm import and done everything in app.module.ts:
import {HttpClientModule, HttpClient} from '@angular/common/http';
import {TranslateModule, Tran...
Lava asked 2/11, 2018 at 14:37
1
Solved
I would like to translate a source text containing <a> tag with url param, the string text example:
STRING_TEXT = 'some text <a href={{url}}>some link name</a>'
I know there i...
Ihab asked 21/9, 2018 at 9:30
2
Solved
I want to use ngx-translate in my frontend to dynamically load translations on app load.
My backend returns a response in JSON format, ex:
{
"something: "something"
}
I want to use that outpu...
Tret asked 4/9, 2018 at 11:29
2
I've read i18n runtime support is coming in angular 6, but cant find anything in rc3. Is it postponed or not yet documented? The i18n documentation still states than one have to build a separate bu...
Amalbergas asked 10/4, 2018 at 9:9
1
Solved
I have an angular app that uses ngx-translate. Below the versions:
"@angular/core": "5.2.6",
"@ngx-translate/core": "9.1.1",
"@ngx-translate/http-loader": "2.0.1"
In the AppModule class i added ...
Venu asked 27/7, 2018 at 14:9
1
Solved
hi it's been days since I've tried to solve this problem without success.
When I try to use the pipe translate i get this error
Error: Uncaught (in promise): Error: Template parse errors:
The pipe...
Freed asked 27/6, 2018 at 8:25
1
Solved
I am using ngx-translate lib to support I18N in my angular app.
Can anyone help me to mark the below html snippet for translation?
<span *ngIf="Days < 0 && !shortSentence">
Follo...
Degradation asked 25/4, 2018 at 16:38
2
Solved
I can get the value if it's a static test, but whenever I'm trying to get the translated value (using ngx-translate), it's empty.
<div id="header-title">
<h1>{{ 'MENU_TITLE' | transla...
Anderer asked 8/3, 2018 at 11:58
0
I use angular-cli in my project with @ngx-translate. The application has lazy-loaded modules and one shared-module (not lazy-loaded) with components.
The language files are separated per modules. ...
Solanum asked 6/3, 2018 at 9:39
2
Solved
I'm using ngx-translate for internationalization on Ionic 3 app. I have used pipe nicely on HTML code. But now I have a situation like below on ts file. Can you tell me how to handle such dynamic u...
Brinkley asked 11/9, 2017 at 12:37
1
Solved
I using Angular 5.0.1 and ngx-translate/core 8.0.0
I have this code in template
<p [innerHTML]="'privacyAgree'|translate:{href:'#'}"></p>
and this string in en.json
"privacyAgree":...
Whaleback asked 21/11, 2017 at 13:13
1
Solved
I need to translate strings coming from a server using ngx/translate.
It works fine when i need to translate a string but in some case i need to translate only part of the string.
For example:
'h...
Stott asked 18/10, 2017 at 14:13
0
For my Angular 4.x application (App) I wrote a library (e.g 'Lib') which is currently not AoT compatible.
Both App and Lib depend on a 3rd party library (e.g. 'X').
When I use “npm link” to devel...
Potemkin asked 10/10, 2017 at 7:28
0
I am using ngx-translate for translation in my Angular app. It works just fine with a simple project setup, but we develop a large-scale business application and different components are split into...
Kerwon asked 31/8, 2017 at 11:29
2
Solved
I'm developing an Ionic 2 mobile app and want to use ngx-translate features.
Following the tutorial, I'm importing necessary files in app module like this:
import { TranslateModule, TranslateLoade...
Variorum asked 28/7, 2017 at 11:26
© 2022 - 2024 — McMap. All rights reserved.