Skip to main content
1 vote
1 answer
74 views

Translate Pipe not correctly importing while using ngx-translate in Angular 18

I'm trying to use the ngx-translate library in Angular 18, but it gives me the following error message in the app.component.ts file when I try to use Translate pipe. I am trying to ultimately display ...
Anon's user avatar
  • 63
0 votes
2 answers
49 views

Problem with ngx-translate (Angular 17, Standalone components)

I've started a new project on which I intended to use ngx-translate for providing translations. But there is a problem. Of course, I've installed it through npm and I've implemented all the code in ...
sg9's user avatar
  • 13
0 votes
1 answer
61 views

Angular Module Federation NullInjectorError

I've initiated an NX project with Module Federation and Angular. I have 2 remotes and 1 shell application, along those application I also have 2 shared libraries: ui-common and util-common. In my ...
rd.vdw's user avatar
  • 1
0 votes
0 answers
42 views

Ngx Translate Routes returns TypeError: translatedPaths.findIndex is not a function

After update Angular project from v13 to v18 I started recive error with path translation. This occurs for example when I click on link in navbar menu. Error looks like: header.component.html:93 ...
Fortiser's user avatar
1 vote
1 answer
27 views

Angular translation service sometimes doesn't work

I have a project using Angular 16.1.1, where I need to translate some words in TypeScript code. I'm using ngx-translate and I have written the following code: constructor(public translate: ...
Guilherme Santana's user avatar
3 votes
3 answers
51 views

ngx-translate returning empty string when translating component input property

I have used ngx translate for my entire project, and it works fine - except in this case. I have to translate an input property from the parent component, to a child component 'dropdown'. But the ...
Sofie Buur's user avatar
0 votes
0 answers
10 views

How to keep ngx-translate translation files next to compiled electron app

I am building an Anguler-Electron App that uses ngx-translate for translation. The translation files are in the default folder assets/i18n. I want the translation files to lay in a language folder ...
Nils's user avatar
  • 459
0 votes
0 answers
44 views

How to automatically change translation on all components when different language selected

I have a select drop down on a navbar which allows the user to select a different language. When the user selects a different language all text in the nav bar component gets translated, but no text in ...
Mark Wright's user avatar
0 votes
0 answers
52 views

Using ngxTranslate with PrimeNG dropdown breaks after migrating from Angular v16 to v18

DESCRIPTION I've just upgraded from Angular v16 to v18. All is working fine, except for the translation of my dropdown items. I'm using ngxTranslate for this, together with my own implementation of ...
Bramist's user avatar
  • 113
0 votes
0 answers
86 views

Use TraslateService in standalone components accross Angular microfrontends and Webpack Module Federation

Which is the best way to use the TraslateService (ngx-translate) accross microfrontends in an Angualar application with Webpack Module Federation using standalone components? I was importing ...
Marco24690's user avatar
1 vote
1 answer
50 views

No query params in custom translation loader in Angular

Im currently work on app where we need to use different branding and translations. For that, I need to get some information from the query params and this is working fine for getting all assets (...
chastain's user avatar
1 vote
1 answer
203 views

PrimeNG dropdown filtering multilanguage options

We're using Angular v16 with PrimeNG 16 and NGX-Translate v15. Translating is working fine, however, filtering is problematic. The label usually comes in codetable code for example "some.resource....
Marek's user avatar
  • 91
1 vote
0 answers
67 views

build localized variant applications using ngx-translate (migrate ngx-translate to angular i18n)

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
1k views

NullInjectorError, Standalone, No provider for _TranslateService Angular 17

Just like in the title. I have a problem with TranslateService when using angular 17.I only use components. And when I try to use TranslateService, I'm getting this error: `main.ts:5 ERROR ...
Milenka's user avatar
0 votes
1 answer
61 views

Angular-How to translate to other language without affecting Application language

I have a dialog with content and an toggle for the user to choose between 2 languges. When user switches between these languages, only the content of the dialog has to change, without affecting the ...
Shanu's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
49