Set up react-i18next with locale files auto-loaded per area (Vite glob), a compact LanguageSwitcher, and language as a server-persisted preference (preferences.language) mirrored to localStorage. On first login the default UI language is guessed from the Google-reported locale (hu/en/de, else English). vite-env.d.ts types the build-time env.
7 lines
176 B
TypeScript
7 lines
176 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
interface ImportMetaEnv {
|
|
readonly VITE_APP_VERSION?: string;
|
|
readonly VITE_GIT_SHA?: string;
|
|
readonly VITE_BUILD_DATE?: string;
|
|
}
|