Dynamic language operations with fallback-safe global delivery.
Language discovery, filtering, and browser-code language resolution patterns that support multilingual data presentation and translation-aware module behavior.
import { Lookup, Select } from '@cleen/cleen-components';
import { useLanguages, useUserLanguage } from '@/hooks/useLanguages';
export function LanguagePicker() {
const { languages, loading } = useLanguages();
const { current, setCurrent } = useUserLanguage();
return (
<div className="lang-picker">
<label htmlFor="lang">Display language</label>
<Select
id="lang"
loading={loading}
value={current}
onChange={setCurrent}
options={languages.map((l) => ({ value: l.code, label: `${l.name} (${l.nativeName})` }))}
/>
<Lookup
placeholder="Or search 130+ languages…"
searchKeys={['name', 'nativeName', 'code']}
items={languages}
/>
</div>
);
}Internal code areas in the licensed Full-Stack codebase that back this module.
ApiLanguageApiPublic browser code language resolutionApiPublic fallback commentsTranslation usage across API modulesA quick visual of how Translation and Languages participates across the CleenUI stack, alongside the named operations it adds to the API surface.
Each operation maps to an endpoint in the licensed C# Web API surface.