1.6.3 • Published 10 months ago

@cas-smartdesign/messages-generator v1.6.3

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
-
Last release
10 months ago

@cas-smartdesign/messages-generator

A CLI tool to convert usual SmartDesign translations into JSON based Messages.

The expected naming of the input translation files is [name]_[ISO 639-1].properties (for example translations_de.properties).

The following files are generated:

  • messages.ts
    • Contains a util which if initialized with a language the corresponding texts are provided from the dictionary.
  • dictionary.ts
    • Contains the generated JSON object from all the translations and the types based on the found translation files.

Options:

Start with -h or --help to list the possible options.

1.6.3

10 months ago

1.6.2

10 months ago

1.6.1

11 months ago