Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

In the messages file of my multilingual Angular project, I have strings that only contain {$INTERPOLATION} and nothing else. These obviously don't need to be translated. They are mistakes, where there ...
hakuni's user avatar
  • 189
0 votes
1 answer
170 views

I am localizing an Angular application using the Angular i18n package. The original language is German, and I am creating an English version. On building the application, I get two subdirectories &...
Phil Jollans's user avatar
  • 3,799
1 vote
1 answer
146 views

I would like to disable the warnings at runtime when no translation is found for Angular i18n because there are usually a lot of warnings until we get around to a translation update. There is a ...
O'Rooney's user avatar
  • 3,136
1 vote
1 answer
81 views

I am using @angular/localize to localize my angular application. How can I localize text from different environment files like environment.ts, environment.development.ts, environment.qa.ts? for prod ...
Divesh Dobal's user avatar
0 votes
1 answer
271 views

I use @angular/localize to localize my Angular app. Is there a way to change the app locale dynamically; for example by using a dropdown button? I am fine with reloading the page when the locale is ...
sm-sayedi's user avatar
  • 1,137
1 vote
1 answer
1k views

Whats the best approach to set LOCALE_ID in an i18n SSR Angular 19 app? I can set it on the server (app.server.config.ts) by setting this DI token: { provide: LOCALE_ID, useFactory: () => { ...
Patric's user avatar
  • 1,656
2 votes
1 answer
2k views

I am working on an Angular 19 project, and I'm trying to add internationalization (i18n) features to support multiple languages. I've followed several guides and suggestions, but I keep running into ...
user84's user avatar
  • 915
3 votes
0 answers
214 views

I'm building an Angular 18 application and need to implement routing with language-specific paths. I want to use Angular's built-in i18n (internationalization) features to translate route paths based ...
Gladitor's user avatar
  • 136
1 vote
1 answer
499 views

i am trying to create a website for myself where one can change the language. I followed the Angular's documentation on locales (link) step by step. I marked my HTML elements with the i18n tag, ...
Yellow Duck's user avatar
0 votes
1 answer
470 views

I'm working on an Angular 17 application where I've implemented i18n for internationalization. Initially, I've set Arabic as the default language for the entire application. Now, I need to switch to ...
MUZAFFAR HUSSAIN's user avatar
1 vote
0 answers
94 views

So currently our Angular project uses the ngx-translate package to internationalize it. we have the directory src/assets/i18n/ containns ws-en.json, ws-fr.json and ws-de.json The problem: I want to ...
mnsdali's user avatar
  • 23
0 votes
1 answer
255 views

I am using i18n for localization in my Angular project. I came to an issue where there are duplicate text entries but with different spacing (whitespaces at the beginning/end of the string. <...
dovexz12323's user avatar
0 votes
5 answers
3k views

I am implementing an i18n for a personal project which uses Atomic Design for components. So far I haven't encountered any problems (and I am pretty new to Angular), but for the last couple of days I'...
The Revanchist's user avatar
0 votes
1 answer
126 views

I have an Angular 16 web app. Users access it like this: www.myapp.com or www.myapp.com/workspace or www.myapp.com/data/members etc. The web app is hosted in IIS (Azure App Service). Everything works ...
d3vtoolsmith's user avatar
1 vote
0 answers
171 views

I use Angular's internationalization and localization. I have my project on three different languages: English, Georgian and Russian. This is my i18n configuration in angular.json "i18n": { ...
Irakli Tulashvili's user avatar
1 vote
1 answer
696 views

I have things mostly working, but this staticwebapp.config.json is causing me more trouble than a typical nginx or apache configuration. This is an Angular 15 Application with i18n configured. My ...
Kirby's user avatar
  • 2,046
0 votes
0 answers
523 views

Context: I'm trying to use ngx-translate in an angular library, and because I want to the library to use the assets of the library in the dist/ folder by default instead of hosting app assets, so I ...
Heila Al-Mogren's user avatar
1 vote
1 answer
361 views

I was trying to translate a text in ts file using ngx-translate, but could not convert Observable to string data type. I tried using this methods. this.endSession = this.translate.stream('sessions-...
Adarsh Narayanan's user avatar
0 votes
1 answer
631 views

I'm trying to make my Angular universal app (version 15.1.0) run locally with i18n. I keep getting the following error though: Failed to load module script: Expected a JavaScript module script but ...
user3255061's user avatar
  • 1,815
2 votes
0 answers
276 views

I am using Firebase to host my Angular app and recently I started migrating from ngx-translate to the angular way of i18n which is translation on build time. This creates a problem with the app ...
nCr78's user avatar
  • 490
0 votes
0 answers
51 views

I have setup Internationalization and Localization for my project for two languages. The process was pretty straight forward, but I'm hung up on how the process should exist for making markup or copy ...
Kirby's user avatar
  • 2,046
0 votes
0 answers
314 views

I am trying to display the no. of devices on the page using i18next. The goal is to show the following text depending on the number of devices: if count = 0 | "vCenters" if count = 1 | &...
shubham_agrawal's user avatar
0 votes
2 answers
746 views

I need to internationalize a ternary expression with i18n in Angular. How to do this? <ion-title i18n>{{currentStep === 0 ? 'New chat' : 'New room'}}</ion-title>
jaba's user avatar
  • 82
3 votes
0 answers
351 views

Now we have an application which uses Angular built-in i18n for multi-lingual app and with using Angular built-in i18n there is a separate build for each language. We will use Capacitor as a hybrid ...
Mahmoud SabahAllah's user avatar
1 vote
1 answer
871 views

I have a component with a custom input, which I call like this: <app-button [color]="'black'" [label]="'Manage'" ></app-button> I want to translate the ...
Louis 'LYRO' Dupont's user avatar
0 votes
1 answer
889 views

I use the rule @angular-eslint/template/i18n to lint elements in template that contains text node and doesn't have an i18n attribute. The Angular Material mat-icon elements use inner text to identify ...
Raphiki's user avatar
  • 302
0 votes
1 answer
3k views

I am having so much trouble getting this syntax to translate - Angular 13.0.02 . My two resources are: https://angular.io/api/localize/init/$localize https://lokalise.com/blog/angular-i18n/ As per ...
bob.mazzo's user avatar
  • 5,817
4 votes
0 answers
633 views

I'm using @angular/localize to translate labels in my application. Say this is my translation file: { "locale": "en-US", "translations": { "...
displayName's user avatar
  • 1,116
0 votes
2 answers
585 views

I m working on the Syncfusion Spreadsheet component to play data like an excel. I implemented all necessary things with Syncfusion documents. But I have an issue in there. I m trying to format numbers ...
Mykyusuf's user avatar
2 votes
1 answer
825 views

Running our application with the Spanish LOCALE_ID ("es"), I can dynamically pull a translation term and then render a toaster type message as follows: const message = $localize`:Toastr ...
bob.mazzo's user avatar
  • 5,817
1 vote
0 answers
249 views

I hosted my angular 13 website on Github Pages and after I added i18n I have the following routing problem. When I go to https://MyRepoName.github.io/base/en-US/ everything is fine and I get ...
Saso's user avatar
  • 148
0 votes
1 answer
339 views

I've got all my application running with i18next and angular-i18next for internationalization. I would like to translate a pop up using angular-toastify but the code that must be translated is into a ...
Chabelle78's user avatar
3 votes
1 answer
994 views

I am not sure how to do a translation for a dynamic variable in my app. Currently, I have the report descriptions in a static json file. I am looping through the content of that and using string ...
gby's user avatar
  • 151
0 votes
1 answer
429 views

I have in my .html file something like <mat-form-field> <mat-label i18n="@@title">Title</mat-label> <input matInput formControlName="title" ...
LeO's user avatar
  • 5,441
2 votes
1 answer
2k views

To localize my Angular 13 application I followed the official guide: https://angular.io/guide/i18n-example, created *.xlf files with translations, everything seems to work fine so far. Now, I wonder ...
Semen Shekhovtsov's user avatar
1 vote
0 answers
193 views

My application has static JSON files for most translations, but some run time data also has translations and I'd like to load that translation data on-demand using ngx-translator. Is there a way to ...
Sudeep Sagar's user avatar
8 votes
4 answers
11k views

I am trying to learn and add Angular Internationalization in a project. I can understand only compile time translation from angular documents (https://angular.io/guide/i18n-overview). I need some ...
Ravikumar's user avatar
  • 553
1 vote
2 answers
2k views

I am using i18n with Angular Universal SSR. The issue is that the client received the text in source locale and after a few seconds are replaced with the correcty locale. For example, client load http:...
D.Pacheco's user avatar
  • 540
6 votes
1 answer
3k views

Is it possible to use variables in an angular template i18n string? In TypeScript I can use template string, eg: public welcomeMessage = $localize`:@@test.welcome: Hello ${this.name}:user_name:! How's ...
nclskfm's user avatar
  • 272
2 votes
1 answer
1k views

If i try to translate the following text: {example} like this: $localize`{example}` The text will disappear in the translated build. Is there a way to escape the curly braces?
Martijn van den Bergh's user avatar
0 votes
0 answers
262 views

I am using multiple libraries in my angular application. I want to understand how I can localize contents coming from these libraries or is there a way to load their translation files in the ...
tsinha's user avatar
  • 31
0 votes
1 answer
941 views

I want to add pipeline to my ngx-chart xAxisLabel and yAxisLabel. <ngx-charts-bar-vertical [view]="view" [scheme]="colorScheme" [...
Alan Yu's user avatar
  • 1,542
4 votes
1 answer
563 views

I localized an Angular App with the standard Angular localize package. That works perfect and I host my app on firebase. I read the firebase article on how to configure i18n rewrites and implemented ...
Flowmerca's user avatar
  • 305
5 votes
1 answer
5k views

I've got a strange error trying to use $localize in my ts files. I am getting this error Error: Uncaught (in promise): TypeError: angular_localize_init__WEBPACK_IMPORTED_MODULE_3_.$localize is not a ...
Real World's user avatar
  • 1,719
-1 votes
2 answers
2k views

I have an app that is localized using angular-i18n to which I want to add a language switch button. This is working, however, the available languages are hard-coded, i.e. I have to specify the ...
Schottky's user avatar
  • 2,119
1 vote
1 answer
1k views

I would like to get experience with the angular i18n (https://angular.io/guide/i18n#build-from-the-command-line). I can serve my application with one locale, it's okay. But I can't debug the ...
Adam Boczula's user avatar
0 votes
1 answer
243 views

Versions. "@angular-devkit/build-angular": "0.13.4", "@angular-devkit/build-ng-packagr": "0.13.4", "@angular/animations": "7.2.2", "@...
NobitaGpDeDust's user avatar
0 votes
3 answers
2k views

I don't have a lot of experience with i18n and I'm stuck with this. I have component within another component. All I want to do is to pass i18n as one of the parameters. How do I do that? Here is what ...
MrRobot's user avatar
  • 1,197
1 vote
0 answers
212 views

I have a component that takes a parameter of type object(errorMessage). One of the property(maximumDate) of that object accepts a static text. I recently started internationalizing the application and ...
Atul Srivastava's user avatar
8 votes
2 answers
4k views

So i have a angular 11 application where i just implemented localization with angulars default i18n middleware. To create an initial file i just ran : ng extract-i18n myprojectName --format xlf --...
Timsen's user avatar
  • 4,146

1
2 3 4 5 6