:split

This schematic splits a merged translation file back into individual scope translation files, based on the project's translation configuration.


Command

ng generate @jsverse/transloco:split

Options

Option

Alias

Description

Type

Default

--translation-path

root

The folder that contains the root translation files.

string

src/assets/i18n

--source

o

The source directory path that contains the merged translation files.

string

dist-i18n


Usage Example

ng generate @jsverse/transloco:split --root src/assets/i18n -o dist-i18n

Last updated

@ 2024 Transloco