wwf
2025-11-18 77950e48c76f4a3b29d01831d43039caba29888a
app/components/i18n.tsx
@@ -2,6 +2,7 @@
import type { FC } from 'react'
import React, { useEffect } from 'react'
import { changeLanguage } from '@/i18n/i18next-config'
import I18NContext from '@/context/i18n'
import type { Locale } from '@/i18n'
import { setLocaleOnClient } from '@/i18n'
@@ -15,7 +16,7 @@
  children,
}) => {
  useEffect(() => {
    setLocaleOnClient(locale, false)
    changeLanguage(locale)
  }, [locale])
  return (