Appearance
Localization
Pro & EnterpriseMulti-language support requires a Pro or Enterprise subscription.
Compare plansLayota supports multiple languages for map content. Visitors see areas and markers in their preferred language.
Adding Languages
- Open the Localization panel in the editor sidebar
- Add languages you want to support — English, German, French, Spanish, Italian, Dutch, Danish, Portuguese, Arabic and Chinese ship with default UI translations. Need another one? Add it yourself — see Custom Languages below
- Set a default language — used when no translation is available

Custom Languages
If the language your visitors read is not in the list — Basque, Welsh, Luxembourgish — add it yourself: open Add language and pick Add custom… at the end of the list.
| Field | Meaning |
|---|---|
| Language code | BCP-47 tag — two or three lower-case letters, optionally a region: eu, cy, pt-BR. Embeds and the SDK use it (?lang=eu, setLanguage('eu')). |
| Name | As shown in the editor. |
| Native name | How the language calls itself — shown to visitors. |
| Start from | A shipped language whose interface strings are copied as the starting point, so the map is never blank. Translate them in UI Translations below, like any other language. |
| Right-to-left | On for a language written right to left — Persian, Hebrew, Urdu. Preset from the code; see Right-to-left languages. |
A custom language belongs to your organisation: every project of yours can use it, other organisations never see it. It can be renamed and its reading direction changed (open the language from the list), but its code is fixed; it can be removed once no project uses it. Available on Pro and Enterprise, like every other language feature.
Right-to-left languages
Shown in Arabic — by ?lang=ar, the SDK or the visitor's language button — the map reads right to left: the interface mirrors, the plan does not.
- What mirrors: the reading direction of every text, the order and alignment of the controls, the side cards and lists open to, and the icons that mean back and forward. Appearance positions are reading-order positions: a search bar set to top-left sits at the top-right in Arabic — where an Arabic reader starts — and the zoom buttons set to bottom-right move to the bottom-left.
- What never mirrors: the floor plan itself. A plan is a physical layout — pitch 74 stays where it is, north stays up, routes are drawn the same. Numbers keep Western digits (
74, not٧٤): they are what is printed on the signs and in the booking. - On-map labels are drawn in the language's direction, so a label that mixes Arabic with a number keeps the number where an Arabic reader expects it.
Arabic is right-to-left out of the box. A custom language carries its own Right-to-left switch — preset from the code (on for fa, he, ur), changeable any time from the language's editor — so Persian, Hebrew or Kurdish Sorani mirror the same way. The language button switches the direction live, no reload. In the editor only the map area mirrors while the button previews a right-to-left language; the panels keep the editor's language.
Translating Content
For each area and marker, you can provide translations of:
- Title
- Description
- Status label
- Features
- Custom button label — the button's icon is shared, the text changes per language. An empty translation falls back to the default-language label.
- Custom button URL — the link can differ per language too, see A button link per language. An empty one uses the default URL.
- Tooltip text — the short line under the name in the hover tooltip (e.g. "Next to the main entrance · free Wi-Fi").
Level names are translated per level: open the level in the Levels panel, pick the language above Level Name and type the translated name. The visitor sees it in the level switcher, the object card, the hover tooltip, search results, the route builder and the floor-change pins of a route; an empty translation falls back to the default name. Links (?level=) and the SDK keep using the default name (or the level key).
Tag names are translated once per tag in the Tags panel (a tag is shared by every area and marker that carries it) — see Tags.
Open any area or marker, pick the language in Multilingual Content, and enter the translated text. Every field that follows the language select carries a small language chip (for example DE) next to its label — including the status label and the custom button label, which sit in Properties next to their shared settings (status type, button icon and URL).
A button link per language
Booking systems usually have one page per language. So that a German guest who taps Buchen lands on the German form, the card's custom button can open a different link in each language. Two ways, and they combine:
{lang} in the URL — the quick one for many places. Write the button's URL with {lang} where the language code goes:
https://booking.example/dispo/fornella/{lang}The map puts the code of the language the visitor reads it in: …/it, …/de, …/nl, …/en. One URL on 400 pitches serves every language.
If the booking system names a language differently (ger for German, en-GB for English), open the language in the Localization panel and set Code in links: that is what {lang} becomes for it. Empty = the language's own code.
A link of its own for one language. In the area or marker editor pick the language in Multilingual Content: Button URL carries the language chip, like the label. What you type there is that language's link; leave it empty and the language uses the default URL (shown as the placeholder). A language's own link wins over the default and may hold {lang} too.
Links are web links (https://…; mailto:, tel: and a path on your own site also work). With analytics on, each tap is recorded with lang — which language's page got it.
To give the same button to many places at once — every pitch gets Prenota → booking — write it through the API: one PATCH with levels_data, the same customButton on each place (Entities API). The editor sets it per place.
Language Selection
The map opens in (in priority order):
- SDK
languageoption — explicitly set in code - Embed URL
langparameter — e.g.,?lang=de - The visitor's own choice from earlier in this browser session — made with the language button below, kept so a reload doesn't reset it
- Project default language — configured in settings
- Fallback — original (untranslated) content
Once the map is up, the visitor's language button and the SDK's setLanguage() switch it live; both fire the languageChange event.
The language button
Visitors switch the language inside the map: a round button above the zoom controls shows the current language code (EN, DE) and opens the project's languages by their native names — Deutsch, Italiano, Nederlands. Picking one switches titles, cards, search, legend and the interface strings at once. The button appears only when the project has two or more languages.
In the editor the same button previews the canvas in a language — the project's default language stays as set in Settings. Turn it off for the whole project in Appearance → Language button, or for one embed with the language-switcher="hidden" attribute (see Controls per embed). When analytics is on, each switch is recorded as the languageSwitch event with the language the visitor left and the one they chose — a map that keeps getting switched from Italian to Dutch tells you which translation your guests look for.
SDK Example
typescript
const map = new LayotaMap({
container: '#map',
projectId: 'your-project-id',
language: 'de', // initial language
})
// Switch language at runtime
map.setLanguage('ru')
// Listen for language changes
map.on('languageChange', ({ language }) => {
console.log('Language changed to:', language)
})Web Component Example
html
<layota-map
src="https://app.layota.app/embed/PROJECT_ID"
lang="de"
style="width: 100%; height: 600px;"
></layota-map>iframe Example
html
<iframe
src="https://app.layota.app/embed/PROJECT_ID?lang=de"
width="100%"
height="600"
></iframe>UI Translations
The map viewer UI (buttons, labels, search placeholder) is automatically translated based on the selected language. Layota ships with built-in UI translations for common languages.