Live video on the AT Protocol
1// Simple i18n infrastructure exports for Streamplace components
2// Re-exports i18next tools for app-level customization
3
4// Core i18next exports
5export { default as i18n } from "i18next";
6export {
7 I18nextProvider,
8 Trans,
9 Translation,
10 initReactI18next,
11 useTranslation,
12 withTranslation,
13} from "react-i18next";
14
15// i18next plugins for common use cases
16export { default as LanguageDetector } from "i18next-browser-languagedetector";
17export { default as Backend } from "i18next-http-backend";
18export { default as resourcesToBackend } from "i18next-resources-to-backend";
19
20// Fluent support
21export { default as Fluent } from "i18next-fluent";
22
23// Basic provider components for consistent setup
24export { I18nProvider } from "./provider";
25
26// Bootstrap configuration and utilities
27export {
28 I18NEXT_CONFIG,
29 changeLanguage,
30 getCurrentLanguage,
31 getCurrentLocale,
32 getLanguageInfo,
33 getLocaleFromSystemLocale,
34 getSupportedLocales,
35 i18next,
36 default as initI18next,
37 isLocaleSupported,
38} from "./i18next-config";
39
40// Manifest data
41export { default as manifest } from "../../locales/manifest.json";
42
43// TypeScript types
44export type {
45 i18n as I18nInstance,
46 InitOptions,
47 Resource,
48 ResourceLanguage,
49 TFunction,
50} from "i18next";