Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 568 Bytes

README.md

File metadata and controls

30 lines (17 loc) · 568 Bytes

Angular Multi-langugae Setup

Boilerplate project for displaying website contents in multiple languages.

Required Packages

@ngx-translate/core
@ngx-translate/http-loader

Setup

Add language file <lang>.json (eg. en.json, de.json, fr.json etc.) in the i18n folder in the assets folder.

<select>
  <option value="en">English</option>
  <option value="de">Spanish</option>
  ...
</select>

Note: This filename should match the option value in the select dropdown.


ScreenShot