fix: translate backend asset includes in native
All checks were successful
Deploy Production Server / if_merged (pull_request) Successful in 6m36s

This commit is contained in:
2026-01-16 14:19:47 +01:00
parent c456fdae8b
commit 0150c4fac2
4 changed files with 8 additions and 7 deletions

View File

@@ -671,12 +671,14 @@ export async function initCompetitionApi(apiUrlRoot_, host) {
.use(i18nextHttpBackend)
.use(i18nextBrowserLanguagedetector)
.init({
supportedLngs: ['fr', 'en'],
fallbackLng: 'fr',
debug: true,
debug: host.startsWith('http://localhost'),
interpolation: {
escapeValue: true,
},
detection: options,
backend: backend,
ns: ['result'],
defaultNS: 'result',
})