1.4.1 • Published 4 months ago

@nutgaard/i18n-tools v1.4.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

I18N-tools

Utility for building and compiling I18N bundles.

The project uses tools from FormatJS, if your project uses other tools it may not work for you.

Install globally: npm install @nutgaard/i18n-tools -g

Install in project: npm install @nutgaard/i18n-tools --save-dev

How to use it:

i18n-tool build <srcDir> <outDir> [...options]
i18n-tool watch <srcDir> <outDir> [...options]
i18n-tool validate <srcDir>
i18n-tool fix <srcDir> <outDir>
i18n-tool help

Options:
    -f, --format:   Output format; script, json, formatjs
                    Default: formatjs

    --typescript:   Output (if not json format) should be typescript
                    Default: false

    --strict        Run validation when building bundles.
                    Default: false

    --ast           Generated compiled bundles
                    Default: false

    --lut           Generated look-up-table
                    Default: false

    -t, --timeZone: Inject timezone into date/time skeletons
                    Default: <none>
1.4.1

4 months ago

1.4.0

4 months ago

1.3.0

6 months ago

1.2.3

11 months ago

1.2.2

11 months ago

1.2.1

11 months ago

1.2.0

11 months ago

1.1.0

11 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago