Soluling home   Document home

JSON options

Write options

Use this sheet to specify how localized Ngx-translate files are written.

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.

Options

Specifies what items are included to the localized files that Soluling creates. Possible values are:

Value Description
Comment value

If checked, the comment items are kept in the localized files.

Id value

If checked, the id items are kept in the localized files.

Untranslated element

If checked, the untranslated elements are kept in the localized files. The original language is used in the text properties.

Here is a sample Ngx-translate resource item.

"select_language": {
"text": "Select language",
"comment": "Select an active language from a list",
"id": "24jo864nv2n0zsu"
}

The select_language item contains three properties.

A Finnish version of above item would be.

"select_language": {
  "text": "Valitse kieli"
} 

Note that the Finnish item does not contain comment and id values. You can make Soluling to add them by checking Comment value and Id value in the above check boxes.