Our users come from all over the globe, and so naturally English isn’t necessarily the language used by all of our users.
Seats gives you a flexible way to internationalise (i18n) your floor plan, making it easy to translate a seating chart, and display it to your users in their language.
Note: this article only applies to floor plans embedded using the seats.io renderer, i.e. typically the floor plans you present to your ticket buyers to select their seats.
For more information on how to translate Event Manager, our box office and admin tool, check this article.
Built-in texts are texts that Seats provides by itself. For example texts like the ones in the tooltips that get shown when a ticket buyer hovers over a seat or a section.
These are the built-in texts, with their translation in English:
notAvailable: 'Not available'
notEnoughPlacesAvailable: 'Not enough places available'
sectionAvailabilitynone': 'No seats available'
noOrphanSeats: 'Please leave no empty seats'
maxSelectionReached: "You can't choose any more places"
deselectOthersFirst: 'Deselect other places first'
availableplaces': 'available places'
availableseats': 'available seats'
choosePriceLevel: 'Please choose'
choosePriceLevels: 'Please choose a ticket type for your %a places'
singleTicketAvailableInSection: '1 ticket at [b]%a[/b]'
multipleTicketsAvailableInSection: '%a tickets from [b]%b[/b]'
ticketsAvailableFrom: 'Tickets from [b]%a[/b]'
selectQuantity: 'Select quantity'
renderingFailed: 'The seating chart could not be loaded'
clickToSelect: 'Click to select'
clickToSelectPlaces: 'Click to select %a places'
clickToDeselect: 'Click to deselect'
clickToDeselectPlaces: 'Click to deselect %a places'
restrictedView: 'Restricted view'
companionSeat: 'Companion seat'
sessionExpired: 'Your session has expired'
sessionExpiredAllPlacesReleased: 'All selected places have been released'
sessionExpiredStartOver: 'Start over'
useMetaKeyToZoom: 'Use %a + scroll to zoom in'
noLongerAvailable: 'No longer available'
pickCategory: 'Choose a category'
filterCategories: 'Filter categories'
selectMorePlaces: 'Select %a more'
chooseTickets: 'Please choose your tickets'
openFullScreen: 'Open full screen'
closeFullScreen: 'Close full screen'
Rendering in your language
Seats has built-in support for over 30 languages. To render a floor plan in your language, simply pass in a “language” config parameter, like so:
The currently supported languages are:
- “ar”: Arabic
- “be”: Belarusian
- “bg”: Bulgarian
- “ca”: Catalan
- “cs”: Czech
- “da”: Danish
- “de”: German
- “el”: Greek
- “en”: English
- “es”: Spanish
- “et”: Estonian
- "fa": Persian (Farsi)
- “fi”: Finnish
- “fr”: French
- “hr”: Croatian
- “he”: Hebrew
- “hu”: Hungarian
- “it”: Italian
- "ja": Japanese
- “li”: Lithuanian
- “lv”: Latvian
- “no”: Norwegian
- “nl”: Dutch
- “pl”: Polish
- “pt”: Portuguese
- “ro”: Romanian
- “ru”: Russian
- “sk”: Slovak
- “sl”: Slovenian
- “sr”: Serbian
- “sv”: Swedish
- “tr”: Turkish
- “uk”: Ukrainian
- “zh-Hans”: Simplified Chinese
- “zh-Hant”: Traditional Chinese
If your language is not in this list, please feel free to send us translations for the built-in texts mentioned above, we’ll be happy to add them for you.
Overriding built-in texts
You can also override individual built-in texts, using the key (e.g. unavailableSeat) with the messages config parameter.
Translating dynamic labels and texts
Besides the built-in texts, other texts can be translated as well:
- static text you add on your floor plan while you're designing it
- category labels
To translate these dynamic, you need to pass in a messages config variable, like so:
Please note: the keys in the messages object are cAsE sEnSiTivE!
- set the
languageconfig param to translate built-in texts.
- use a
messagesarray to translate your own labels and texts.