mirror of
https://github.com/mokuappio/serverless-invoices.git
synced 2025-10-28 08:21:08 -04:00
No configuration setup. Wordpress compatible.
This commit is contained in:
@ -16,7 +16,7 @@ const initialized = i18next.init({
|
||||
fallbackLng: 'en',
|
||||
whitelist: ['en', 'fr', 'et', 'fa', 'bn', 'es'],
|
||||
backend: {
|
||||
loadPath: config.locales_url || `${window.location.origin}${process.env.BASE_URL}/locales/{{lng}}/{{ns}}.json`,
|
||||
loadPath: `${config.base_url || ''}/locales/{{lng}}/{{ns}}.json`,
|
||||
},
|
||||
detection: {
|
||||
order: ['querystring', 'path', 'localStorage', 'navigator'],
|
||||
|
||||
Reference in New Issue
Block a user