55 questions
1
vote
0
answers
64
views
How to setup Angular SSR+localize with subdomain-based locale resolution
If build&deploy non-ssr localized versions as subdomains like
en.example.org
uk.example.org
fr.example.org
angular.json configuration looks like
"i18n": {
"...
1
vote
1
answer
145
views
Angular CDK Drag & Drop issues with RTL
Description:
When in RTL mode, and try to drag a element from a list, the element is offset to the right with the length of the screen width.
Please see the link where everything explained with video:
...
1
vote
1
answer
77
views
Angular 18 localize text in environment file
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
...
0
votes
1
answer
222
views
Change the Angular app language dynamically using @angular/localize
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 ...
1
vote
1
answer
97
views
Include ­ character (or equivalent) in Angular's localize library
Using Angular's localize library (@angular/localize) to handle translations in an application. In my German copy however I have certain words that are too long and need a soft hyphen line break ...
1
vote
0
answers
138
views
Angular ng extract-i18n not extracting from all files
I am currently building a web application and I am using Angular as a frontend framework with TS. I already built the site and am now focusing on internationalization, but everytime I run ng extract-...
0
votes
1
answer
118
views
How to enable localization for Angular 18 SSR on Firebase App Hosting?
I’m hosting an Angular 18 SSR project on Firebase's new App Hosting service. I need to set up localization (e.g., /en, /tr paths). Do I need to configure nginx for this, or does Firebase App Hosting ...
2
votes
1
answer
673
views
Plural support for typescript in Angular 18
Currently, I am upgrading my app to angular 18 and also am migrating i18n from ngx-translate to angular/localize. Unfortunately, I couldn't achieve plural in typescript, I can do the same in html. ...
44
votes
2
answers
17k
views
Angular 18 Polyfills warning
I just upgraded to Angular 18 and I get the following warning when I do ng serve:
▲ [WARNING] Polyfill for "@angular/localize/init" was added automatically. [plugin angular-polyfills]
In ...
3
votes
1
answer
7k
views
Change default Locale in Angular 17
How can I set the default locale in Angular 17?
In angular.json I added
"projects": {
"myproject": {
....
"i18n": {
"sourceLocale": &...
0
votes
0
answers
2k
views
Setting up i18n in Angular 17 for Multi-Language Support
I'm currently working on an Angular 17 application and I'm looking to implement internationalization (i18n) to support multiple languages. Specifically, I need to set up a dropdown in my application ...
-1
votes
1
answer
1k
views
npm update/npm install returns dependency error after installing @angular/localize
I want to use @angular/localize for my angular application. I am using a recently created nestjs backend with an Angular frontend in a Nx monorepo.
When trying to add the Package with npm install @...
1
vote
1
answer
1k
views
Angular 17 library : add @angular/localize
I'm creating a new Angular 17 application. Some others will be created afterwards. So I want to create a library with main layout to be able to share it between all my applications.
As the application ...
0
votes
5
answers
3k
views
Why doesn't Angular i18n work properly in my project?
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'...
0
votes
0
answers
182
views
Angular $localize: How to use placeholders on attributes
I'm using the runtime translation via loadTranslation() before the app initializes.
But this topic isn't described in a detailed way in the documentation.
I've found a solution for defining a ...