@spike-rabbit/element-translate-ng
v50.0.7
Published
Element translation abstraction layer.
Readme
Element Translate
element-translate-ng is a translation abstraction layer. It can be used with
ngx-translate- Angular localize
- Other frameworks in the future
See here for details how it works and how to use it.
Usage
Install the library as follows:
npm install --save @spike-rabbit/element-translate-ngAn important part of the translation tooling is the extraction of translatable keys as a TypeScript
interface as well as extracting a JSON messages file with default translations. This is provided by
the separate @spike-rabbit/element-translate-cli package via the update-translatable-keys CLI. See
Extracting translatable keys
for details on how to run it and how to configure it.
Testing
Run pnpm run translate:test to perform the unit tests via Vitest.
License
The following applies for code and documentation of the git repository, unless explicitly mentioned.
Copyright (c) Siemens 2016 - 2026
MIT, see LICENSE.md.
