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.