Overview
Namespaces
Namespaces are defined in the
next-i18next.config.js
configuration file in the application root.Separate localisation namespaces are being used to keep translation keys better organised for
logical coherence
easier maintenance
consistent reusability and minimising duplication
Namespaces Used
Namespace | Purpose & Scope | Configuration Notes |
---|---|---|
application | Phrases used in specific application contexts | default namespace |
common | Phrases that are reused across and about the user interface | fallback namespace |
validation | Phrases used in validation interactions for generic and specific workflow operations. | |
glossary | (not implemented) Business vocabulary and phrases that we want to be reused consistently, including context and count variants. |
References
i18next Principles: Namespaces:
covers semantic, technical and editorial reasons for separated namespace configuration
include example configuration