Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular7 i18n Message ... misses a translation

I am in the project folder and execute the following statement in the console:

ng serve --configuration=de

The execution is broken with an error:

ERROR in xliff parse errors: Message ... misses a translation

Error log

The translation is available. What is the problem?

Xlif file

You can reproduce it by checking out the app from my repository Bitbucket Repository and run.

Thank you in Advance.

like image 265
Grischa Avatar asked Dec 05 '18 10:12

Grischa


People also ask

What is extract i18n?

make i18n-extract is a command used for localization. It allows you to validate that your strings have been successfully extracted from your source code before you continue.

What is internalization in angular?

Introduction. Internationalization is the process of supporting multiple languages in your applications. This can be accomplished in an Angular application through third party libraries, such as ngx-translate , or you can use the built-in i18n functionality.

What is localize in angular?

Localization is the process of building versions of your project for different locales. The localization process includes the following actions. Extract text for translation into different languages. Format data for a specific locale.


1 Answers

Solved by switch to JIT-Variant described here Merge with the jit compiler

like image 113
Grischa Avatar answered Sep 21 '22 03:09

Grischa