Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
1.4 kB · 56 lines
TypeScript
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657// i18n infrastructure exports for Streamplace components// Re-exports from @streamplace/i18n + React-specific bindings
// Core i18next exportsexport { default as i18n } from "i18next";export { I18nextProvider, Trans, Translation, initReactI18next, useTranslation, withTranslation,} from "react-i18next";
// i18next plugins for common use casesexport { default as LanguageDetector } from "i18next-browser-languagedetector";export { default as Backend } from "i18next-http-backend";export { default as resourcesToBackend } from "i18next-resources-to-backend";
// Fluent supportexport { default as Fluent } from "i18next-fluent";
// Basic provider components for consistent setupexport { I18nProvider } from "./provider";
// Bootstrap configuration and utilities (local — adds React + storage)export { I18NEXT_CONFIG, changeLanguage, getCurrentLanguage, getCurrentLocale, getCurrentLocaleSync, getLocaleFromSystemLocale, i18next, default as initI18next,} from "./i18next-config";
// Re-export pure utilities from @streamplace/i18nexport { STORAGE_KEY, createI18nextConfig, getFallbackChain, getLanguageInfo, getSupportedLocales, isLocaleSupported, manifest,} from "@streamplace/i18n";
// TypeScript typesexport type { i18n as I18nInstance, InitOptions, Resource, ResourceLanguage, TFunction,} from "i18next";