-
-
Notifications
You must be signed in to change notification settings - Fork 36
Add New Language
Akram El Assas edited this page Oct 12, 2024
·
2 revisions
To add a new language proceed as follow:
- Add the new language ISO 639-1 code to
LANGUAGES
setting inapi/src/config/env.config.ts
. - Create a new file <ISO 639-1 code>.ts in src/lang folder and add the translations in it.
- Add your translations to src/lang/i18n.ts
- Add the new language ISO 639-1 code and its label in src/config/env.config.ts in
LANGUAGES
constant. - Add the translations in src/lang/*.ts.
Add the translations in src/lang/*.ts.
Copyright © 2024 Akram El Assas. All rights reserved.