Soluling home   Document home

Write options

Write options

Use this sheet to specify the options of the Angular output files.

Configuration

Specifies the active configuration. You can add any number of configurations. This makes it possible to create multiple output files with different properties easily.

Localized element value that is written when there is no translation

Specifies what value to write into target elements when there is no translation. Possible values are:

Value Description
Fallback value Use fallback value. If fallback is not used or there is no fallback, use the default value from the original resource file.
Empty value
Use empty value.
Skip element
Default. Do not include the item into the localized resource file.

Options

Value Description
Remove source elements
If checked, the source elements will be removed from localized files. The source element specifies the source code file and line number where the string was extracted. The default value is checked.

Format of localized files

Specifies the format of the localized files. Possible values are:

Value Description
Same as the original file
Use the same format as the original resource files. This is either XLIFF or XMB.
JSON file
Use a JSON resoure file. Use this if you load translations on runtime.
Both files
Create both files (original and JSON) for every language.

At the moment, this is visible only if you use XLIFF 2.0 Angular resource files.

Runtime output directory

Specifies the output directory when Application creates runtime output files. By default, the default runtime output directory (assets/i18n) is used. Most of the cases, this is what you need. However, if you want to use a different output directory, click Custom radio button and click ... button to select the output directory.