PO file is the catalog format used in this project, as recommended by the author of linguiJS.
Refer to this link for more information.
If you prefer another catalog format, it can be configurable in .linguirc
.
Refer to this tutorial to understand the basic translation workflow.
A few things to take note:
- Run
npm run extract
to generate message catalogs. Output will be insrc/locales/{locale}/messages.po
- Translate message catalogs (send them to translators usually)
- Run
npm run compile
to create runtime catalogs, usually done before building the app for production.