Averos Translation: Reference & Conventions
Averos Translation
Averos framework comes with a Translation module, named AverosTranslationModule
, that is already supporting 11 languages out of the box but can include any other language.
Below are the list of the languages that averos supports out of the box along with their country code :
Supported Language | Language Code |
---|---|
Arabic [ πΉπ³ ] | ar |
Chinese [ π¨π³ ] | cn |
English [ πΊπΈ ] | en |
Spanish [ πͺπΈ ] | es |
French [ π«π· ] | fr |
German [ π©πͺ ] | de |
Japanese [ π―π΅ ] | jp |
Dutch [ π³π± ] | nl |
Norwegian [ π³π΄ ] | no |
Russian [ π·πΊ ] | ru |
Swedish [ πΈπͺ ] | se |
Averos Translation module is a stand alone module that could be integrated seperately in any angular application and could be, thus, considered as a multi-language application enabler.
Averos translation is built on top of the angular locale
module and does not rely on any other third party library.
The module is enabled by default for all averos application.
Add Translation Language
Averos workflow allows to add specific language support using the workflow command:
ng g @wiforge/averos:add-language --languageCode=[language code]
Add Translation Entry
Averos workflow allows to add a new translation entry related to a specific language by running the command below:
ng g @wiforge/averos:add-translation-entry --key=[yourKey] --value=[Your Translation] --lang=[language code]
π’ More details on this module is available in the detailed averos documentation.