mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-22 12:41:31 +10:00
experiments with docker packaging, figuring out deploy plan
This commit is contained in:
18
apps/client/i18n/index.ts
Normal file
18
apps/client/i18n/index.ts
Normal file
@ -0,0 +1,18 @@
|
||||
import HttpBackend from 'i18next-http-backend';
|
||||
|
||||
const i18nConfig = {
|
||||
i18n: {
|
||||
defaultLocale: 'en',
|
||||
locales: ['en'],
|
||||
},
|
||||
debug: false,
|
||||
nsSeparator: '.',
|
||||
ns: ['common', 'modals', 'landing', 'dashboard', 'builder'],
|
||||
serializeConfig: false,
|
||||
use: [HttpBackend],
|
||||
backend: {
|
||||
loadPath: `${process.env.NEXT_PUBLIC_APP_URL}/locales/{{lng}}/{{ns}}.json`,
|
||||
},
|
||||
};
|
||||
|
||||
export default i18nConfig;
|
||||
Reference in New Issue
Block a user