69cc728d43
* wrap sock around function component to get re-renders * removed sourcelocale since we are using custom ids * load locale data dynamically * undo dev change * ran yarn i18n:extract * make SOCK component lower case * fixed unmerged conflicts * regenerated po for wallet.socks * added loadLocaleData
22 lines
494 B
JavaScript
22 lines
494 B
JavaScript
module.exports = {
|
|
catalogs: [
|
|
{
|
|
path: '<rootDir>/src/locales/{locale}',
|
|
include: ['<rootDir>/src'],
|
|
},
|
|
],
|
|
compileNamespace: 'cjs',
|
|
fallbackLocales: {
|
|
default: 'en',
|
|
},
|
|
format: 'po',
|
|
formatOptions: {
|
|
lineNumbers: false,
|
|
},
|
|
locales: ['en', 'pseudo-en', 'de', 'es-AR', 'es-US', 'it-IT', 'iw', 'ro', 'ru', 'vi', 'zh-CN', 'zh-TW'],
|
|
orderBy: 'messageId',
|
|
pseudoLocale: 'pseudo-en',
|
|
rootDir: '.',
|
|
runtimeConfigModule: ['@lingui/core', 'i18n'],
|
|
}
|