There are two ways to do this: You can use the JiT (Just in Time) Compiler or AoT (Ahead-of-Time) Compiler. Regardless of the approach, you will need to provide the Angular compiler with
the translation file(s)
the translation file format
the Locale Id (autogenerated by ng-xi18n
and can be found in the translation file)