experiments with docker packaging, figuring out deploy plan

This commit is contained in:
Amruth Pillai
2022-03-03 12:24:32 +01:00
parent 2aa3786f5f
commit 58160b2b6e
20 changed files with 1068 additions and 372 deletions

18
apps/client/i18n/index.ts Normal file
View 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;