c4846c8832
* replaced i18next with lingui * integrate lingui in i18n and update dev setup * updated components to @lingui * fix compile error after rebase * detect locale * add all previous languages to linguirc * address pr feedback * remove it for now * ignore generate *js files, various fixes * added more translations * fixed yarn build command * wrapped more hardcoded english around <Trans> * finished second round of translations * added support for pseudo-en locale * improvements * moved copy.tsx to different branch * moved extra files to different branch * regenerated po * clean up * more fixes * regenerate po * remove messages.js * clean up * addressed pr feedback * regenerated po
21 lines
456 B
JavaScript
21 lines
456 B
JavaScript
module.exports = {
|
|
catalogs: [
|
|
{
|
|
path: '<rootDir>/src/locales/{locale}/messages',
|
|
include: ['<rootDir>'],
|
|
exclude: ['**/node_modules/**', '**/build/**'],
|
|
},
|
|
],
|
|
compileNamespace: 'cjs',
|
|
fallbackLocales: {
|
|
'pseudo-en': 'en',
|
|
},
|
|
format: 'po',
|
|
locales: ['en', 'pseudo-en'],
|
|
orderBy: 'messageId',
|
|
pseudoLocale: 'pseudo-en',
|
|
rootDir: '.',
|
|
runtimeConfigModule: ['@lingui/core', 'i18n'],
|
|
sourceLocale: 'en',
|
|
}
|