diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-12 19:36:34 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-12 19:36:34 +0100 |
| commit | 77676783887a21d362ff1cf71ede10f713e128c6 (patch) | |
| tree | c48938c7077575a10bc7aa4d02cf92d79ddc734e /lingui.config.js | |
| parent | 4514fd261f048cf623c8e23bf41c5c6599c9c86d (diff) | |
build: configure lingui js for i18n
Diffstat (limited to 'lingui.config.js')
| -rw-r--r-- | lingui.config.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lingui.config.js b/lingui.config.js new file mode 100644 index 0000000..b53e343 --- /dev/null +++ b/lingui.config.js @@ -0,0 +1,12 @@ +module.exports = { + locales: ['fr'], + sourceLocale: 'en', + catalogs: [ + { + path: '<rootDir>/src/i18n/{locale}/messages', + include: ['<rootDir>/'], + exclude: ['**/node_modules/**'], + }, + ], + format: 'po', +}; |
