MultilingualField
Edit translations for all four national languages with character counts and per-language form values.
alpina-ui/swiss/multilingual-fieldUsage notes
Use name to submit translations as title[de], title[fr], title[it] and title[rm]. includeEnglish adds English. Select variant=textarea for long copy or layout=columns to compare translations. Copy fills an empty language from sourceLanguage.
When to use
Edit several translations of the same title or description and see which languages still need text.
When to avoid
Use LocaleSelect when only the language of the interface changes.
Accessibility
Keep each field associated with its language and label. Test moving between languages by keyboard and announcing completion independently of colour.
| Key | Action |
|---|---|
| ← / → | Switch the active language while a language tab has focus. |
| Home / End | Focus the first or last language tab. |
| Tab / Shift+Tab | Move between the editor and its available actions. |
| Enter / Space | Copy the source text using the button in an empty translation. |
Content
Write one source phrase per field. Agree a length budget in each language and review the copied wording before publishing.
- Use
- Publication title · Français
- Avoid
- Translation 2
Copy in four languages
- German
- Titel der Publikation21 characters
- French
- Titre de la publication23 characters
- Italian
- Titolo della pubblicazione26 characters
- Romansh
- Titel da la publicaziun23 characters
npx --no-install alpina add multilingual-field