mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-16 16:39:39 +02:00
Final cleanup of references missed in previous rename commits: - Dockerfiles: PUBLIC_MANA_CORE_AUTH_URL → PUBLIC_MANA_AUTH_URL - Go modules: github.com/manacore/* → github.com/mana/* (7 go.mod files) - launchd plists: com.manacore.* → com.mana.* (14 files renamed + content) - Image assets: *_Manacore_AI_Credits* → *_Mana_AI_Credits* (11 files) - .env.example files: ManaCore brand strings → Mana - .prettierignore: stale apps/manacore/* paths → apps/mana/* - Markdown docs (CLAUDE.md, /docs/*): mana-core-auth → mana-auth, etc. Excluded from rename: .claude/, devlog/, manascore/ (historical content), client testimonials, blueprints, npm package refs (@mana-core/*). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
82 lines
1.7 KiB
TypeScript
82 lines
1.7 KiB
TypeScript
/**
|
|
* Shared i18n for Mana monorepo
|
|
*
|
|
* This package provides common i18n utilities, language definitions,
|
|
* and translations that can be shared across all projects.
|
|
*/
|
|
|
|
// Language definitions
|
|
export {
|
|
type LanguageCode,
|
|
type LanguageInfo,
|
|
LANGUAGES,
|
|
getLanguageCodes,
|
|
getLanguageInfo,
|
|
isLanguageSupported,
|
|
isRTL,
|
|
getLanguageDisplayName,
|
|
LOCALE_GROUPS,
|
|
getLanguagesByGroup,
|
|
} from './languages';
|
|
|
|
// Utilities
|
|
export {
|
|
detectBrowserLocale,
|
|
getStoredLocale,
|
|
storeLocale,
|
|
getInitialLocale,
|
|
normalizeLocale,
|
|
getBaseLanguage,
|
|
matchesLanguage,
|
|
findBestMatch,
|
|
formatLocalizedNumber,
|
|
formatLocalizedDate,
|
|
formatRelativeTime,
|
|
getPluralCategory,
|
|
interpolate,
|
|
// PillDropdown language helpers
|
|
type LanguageDropdownItem,
|
|
getLanguageDropdownItems,
|
|
getCurrentLanguageLabel,
|
|
} from './utils';
|
|
|
|
// Common translations
|
|
export {
|
|
en as commonTranslationsEn,
|
|
de as commonTranslationsDe,
|
|
type CommonTranslations,
|
|
getCommonTranslations,
|
|
mergeWithCommon,
|
|
} from './translations/common';
|
|
|
|
// Auth translations
|
|
export {
|
|
en as authTranslationsEn,
|
|
de as authTranslationsDe,
|
|
it as authTranslationsIt,
|
|
fr as authTranslationsFr,
|
|
es as authTranslationsEs,
|
|
type AuthTranslations,
|
|
type AuthLocale,
|
|
authTranslations,
|
|
getAuthTranslations,
|
|
getLoginTranslations,
|
|
getRegisterTranslations,
|
|
getForgotPasswordTranslations,
|
|
} from './translations/auth';
|
|
|
|
// Help translations
|
|
export {
|
|
en as helpTranslationsEn,
|
|
de as helpTranslationsDe,
|
|
it as helpTranslationsIt,
|
|
fr as helpTranslationsFr,
|
|
es as helpTranslationsEs,
|
|
type HelpTranslations,
|
|
type HelpLocale,
|
|
helpTranslations,
|
|
getHelpTranslations,
|
|
} from './translations/help';
|
|
|
|
// Components
|
|
export { LanguageSelector } from './components';
|