Boilerplate project for displaying website contents in multiple languages.
@ngx-translate/core
@ngx-translate/http-loader
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.