Files
healthchat-web/apps/web/src/i18n/index.ts
T
Michael Telatynski f9b97be1d7 Refactor languageHandler to avoid import cycles (#33948)
* Refactor languageHandler to avoid import cycles

Also move its tests to vitest

* Small refactor

* Iterate

* Iterate
2026-06-24 09:49:49 +00:00

28 lines
714 B
TypeScript

/*
* Copyright 2026 Element Creations Ltd.
*
* SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
* Please see LICENSE files in the repository root for full details.
*/
/**
* This file is heavily imported and must be careful not to import anything which imports something else popular,
* e.g. SettingsStore as this would cause import cycles.
*/
export {
_t,
_td,
_tDom,
type IVariables,
type Tags,
type TranslatedString,
lookupString,
sanitizeForTranslation,
normalizeLanguageKey,
getNormalizedLanguageKeys,
getLocale as getCurrentLanguage,
} from "@element-hq/web-shared-components";
export * from "./UserFriendlyError";