ui5-test-i18n-return-values

A small cli that cross checks your ui5 message bundles for missing translations, and also logs how the missing fields were translated in languages where they exist.

Usage no npm install needed!

<script type="module">
  import ui5TestI18nReturnValues from 'https://cdn.skypack.dev/ui5-test-i18n-return-values';
</script>

README

ui5-test-i18n-return-values

This is a modified version of Kellojos package ( https://github.com/Kellojo/ui5-test-i18n ), that cross checks your ui5 message bundles for missing translations, but additionally prints the values (of the keys that are missing) from the i18n files where the keys exist. This way, you can directly see how the missing fields are translated into other languages, and find fitting translations easier.

How a failure looks like How success looks like

It looks for any .properties fils in the given directory and report any missing properties.

How to use:

Simply run the command from your terminal after installation:

ui5-test-i18n-return-values ./webapp/

The result will be printed to the console.

Local Development Setup

  1. Clone the repository
  2. navigate into the root of the repo
  3. run npm link in the root dir
  4. you can now use ui5-test-i18n-return-values as a command locally