summaryrefslogtreecommitdiffstats
path: root/lingui.config.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-12 19:36:34 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-12 19:36:34 +0100
commit77676783887a21d362ff1cf71ede10f713e128c6 (patch)
treec48938c7077575a10bc7aa4d02cf92d79ddc734e /lingui.config.js
parent4514fd261f048cf623c8e23bf41c5c6599c9c86d (diff)
build: configure lingui js for i18n
Diffstat (limited to 'lingui.config.js')
-rw-r--r--lingui.config.js12
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',
+};