Skip to content

For multi-language support, generate concise and distinct keys for localization files or dictionaries.

License

Notifications You must be signed in to change notification settings

palashmon/app-localization-keys

Repository files navigation

Localization Keys CI

For multi-language support, generate concise and distinct keys for localization files or dictionaries. Using abbreviated keys produced by acronymer simplifies the localization process and ensures consistency across translations.

Install

  1. Install node.js and npm.
  2. Run npm install to install the dependencies.

Build & Run

  1. Copy the contents of the .env.example file to a .env next to it, and edit it with your values.
  2. Run npm run build to build the files.
  3. Run npm run start to start the application.
  • You can run npm run dev to combine the 2 steps above, while listening to changes and restarting automatically.

Developing

Visual Studio Code

  • Installing the Eslint (dbaeumer.vscode-eslint) and Prettier - Code formatter (esbenp.prettier-vscode) extensions is recommended.

Linting & Formatting

  • Run npm lint to lint the code.
  • Run npm format to format the code.

Testing

Check the test examples to get started :

  • /src/app.ts that provide the main logic
  • /test/app.spec.ts who test the main function

To run the tests :

  • Run npm test to execute all tests.
  • Run npm test:watch to run tests in watch (loop) mode.
  • Run npm test:coverage to see the tests coverage report.

About

For multi-language support, generate concise and distinct keys for localization files or dictionaries.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •