web/i18n-config/DEV.md
<I18nServer/>
getLocaleOnServer (in node.js)
<I18N/>
setLocaleOnClient
changeLanguage (defined in i18n/i18next-config, also init i18n resources (side effects))
i18next.changeLanguagelocale - current locale code (ex eu-US, zh-Hans)i18n - uselesssetLocaleOnClient - used by App Boot and user change languagekeySeparator: falseapp/components/datasets/create/embedding-process/index.tsx
const { t } = useTranslation('datasetSettings')t('form.retrievalSetting.title')app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/settings/page.tsx
const { t } = await getTranslation(locale, 'dataset-settings')t('form.retrievalSetting.title')