I am newbie to angular2, i able to translate using ng2-translate by using PIPE in template or html for example: {{ 'test' | translate}}
But any idea what if i want translate validation message or any string value inside any of component.ts class?
Anyone can help, it took me 3 days already
how to use ng2-translate preload translations to use in component class
113 Views Asked by BondLim At
0
There are 0 best solutions below
Related Questions in NG2-TRANSLATE
- How to translate a data from database using ng2-translate in angular?
- Jhipster JhiLanguageService always points to relative path
- Translations not working in error component angular2/6
- Ng2-translate and webpack
- Unable to Translate Keys using Ng2-Translate in Http Interceptors and Home Component Angular 2 , Angular 6
- using ng2-translate with jhipster, Property 'parser' is private in type 'TranslateService' but not in type 'TranslateService'
- ng2-translate: Cannot read property 'subscribe' of undefined at TranslatePipe.transform
- Inject a translated string as an input in an angular 5 component
- How to use Ng2-translate into *NgFor
- Can't get ng2-translate to play ball in Nativescript/Angular application
- ngx-translate: translations are not shown on reload
- I Got error Like this in Angular
- ngx-translate special chars issue
- Angular 2: How to use ng2-translate alongside in-memory-web-api
- ng2-translate in unit test returns keys instead of translations
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?