Skip to content

Including a new language

Guilherme Borges Bastos edited this page Jun 7, 2020 · 5 revisions

< Applying Customizations page

This Wiki page will lead you through the steps of adding support for additional languages. Currently, the Live Resume is internationalized in en-US and pt-BR. In case of issues, feel free to enter in our community on Gitter and post your questions.

Introduction to i18n

The Live Resume uses Angular's internationalization (i18n) tools for making the application available in multiple languages. Prior to move on to the topics below, it's recommended to read the i18n documentation.

How to use it?

The built-in i18n functionality extracts from the template the elements containing the i18n attributes, e.g: i18n, i18n-title, i18n-placeholder, etc... By adding those attributes, the content will be extracted and internationalized. In order to extract the contents for translation, execute the following command:

npm run int:extract