chore: i18n pull dutch

This commit is contained in:
Ibrahima G. Coulibaly
2025-07-15 19:58:56 +01:00
parent e7ac590023
commit 54a5fd1757
17 changed files with 1518 additions and 42 deletions

View File

@@ -75,7 +75,7 @@ export default function ToolLayout({
{children}
<Separator backgroundColor="#5581b5" margin="50px" />
<AllTools
title={t('translation:toolLayout.allToolsTitle', {
title={t('translation:toolLayout.allToolsTitle', '', {
type: capitalizeFirstLetter(
getToolsByCategory(t).find((category) => category.type === type)!
.title

View File

@@ -28,6 +28,9 @@ i18n
.init({
lng: localStorage.getItem('lang') || 'en',
fallbackLng: 'en',
interpolation: {
escapeValue: false // react already safes from xss => https://www.i18next.com/translation-function/interpolation#unescape
},
backend: {
loadPath: '/locales/{{lng}}/{{ns}}.json'
}