From 77676783887a21d362ff1cf71ede10f713e128c6 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sun, 12 Dec 2021 19:36:34 +0100 Subject: build: configure lingui js for i18n --- lingui.config.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lingui.config.js (limited to 'lingui.config.js') 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: '/src/i18n/{locale}/messages', + include: ['/'], + exclude: ['**/node_modules/**'], + }, + ], + format: 'po', +}; -- cgit v1.2.3