Skip to content

Language

Antonio Stipić edited this page Jul 28, 2020 · 1 revision

Add a new language

  1. In transloco-root.module.ts under availableLangs append new object
    {
        id: 'ISO 639-1 language code',
        label: 'Language name'
    }
    
  2. Create JSON file in assets/i18n named as id used in object above, populate with the corresponding translations of en.json file
Clone this wiki locally