1.15.0 • Published 2 years ago

translations-i18n-pack v1.15.0

Weekly downloads
1
License
SEE LICENSE IN LI...
Repository
gitlab
Last release
2 years ago

"analytics-ui-language-pack" Language Pack

Details

This language pack provides internationalized strings for all supported languages in typescript format for consumption by Angular projects using the ngx-translate library for i18n.

The language pack is designed to be used with the TDAA-UI Language Pack Starter Kit library for importing and exporting i18n strings between typescript and json formats. For more information on that library, consult its page on raleigh-git.

Tools

For easy change management, this language pack ships with a number of yarn tools in its package.json, as described below.

Yarn CommandDescription
yarn bumpAlias for yarn bump:patch
yarn bump:majorIncrements the major version of your language pack in package.json, creates the corresponding tag, and pushes to the remote repository.
yarn bump:minorIncrements the minor version of your language pack in package.json, creates the corresponding tag, and pushes to the remote repository.
yarn bump:patchIncrements the patch version of your language pack in package.json, creates the corresponding tag, and pushes to the remote repository.
yarn lintRuns the ESLint utility for code style in the javascript files
yarn lint --fixRuns the ESLint utility for code style in the javascript files. Attempts to automatically populate missing keys with blank values.
yarn lib:publishPublishes your language pack to NPM using the details in package.json and .npmrc
yarn testRuns unit tests in the /spec folder and provides test coverage information
tdlangDisplays the help documentation for the language pack starter kit CLI
tdlang exportConverts and exports the translation file contents in the /ts folder into /json
tdlang importConverts and imports the translation file contents in the /json folder into /ts
tdlang lintChecks the contents of the non-base language files against the base language file for potential problems
tdlang lint --fixSame as tdlang lint, but automatically fixes missing keys where applicable
tdlang translateCreates pseudo-translations for any untranslated strings in the non-base language files (with options for targeting json files in lieu of typescript)
tdlang upgradeIf starting from an older version of the language pack starter kit, this updates the settings for compatibility with newer versions (note: this does not upgrade the tdlang package, only your settings; you will have to do that yourself)
1.15.0

2 years ago

1.14.0

2 years ago

1.13.0

2 years ago

1.12.0

2 years ago

1.11.0

2 years ago

1.10.0

2 years ago

1.9.0

2 years ago