-
-
Notifications
You must be signed in to change notification settings - Fork 211
Add New Language
Akram El Assas edited this page May 25, 2024
·
3 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 new language ISO 639-1 code and its label in config/env.config.ts in
LANGUAGES
constant. - Create a new file <ISO 639-1 code>.ts in lang folder and add the translations in it.
- Add your translations to lang/i18n.ts
Copyright © 2024 Akram El Assas. All rights reserved.