Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 736 Bytes

i18n.md

File metadata and controls

14 lines (10 loc) · 736 Bytes

Internationalization

⬅️ Readme

Currently this project support 2 languages (English and Polish).

Adding a new lang

  1. Extract all i18n values from the project (yarn extract-i18n)
  2. Copy ../apps/spotify/src/locale/messages.xlf to ../apps/spotify/src/locale adding a new lang code between messages and .xfl.
  3. Translate the new file
  4. Add new lang to the ../apps/spotify/src/languages.json
  5. Add file reference in angular.json in spotify.i18n.locales.
  6. Add file to the ../netlify.toml with the specified lang condition