Set Up Languages and Weather Widget
Configure multi-language support and weather information
Set Up Languages and Weather Widget
Multi-language support and the weather widget make your display more international and informative. This article explains both features in detail.
Multi-Language Support
Available Languages
42 Languages Are Supported:
Plan Availability
Basic Plan (€69/month):
Pro Plan (€149/month):
Premium Plan (€199/month):
Upgrade: Available at any time in the Billing section
Enabling Languages
Step-by-Step:
- Log in to the portal
- Click on "Settings"
- Scroll to "Languages"
- See list of 42 languages
- Click on languages to enable
- Pro: Max 2 languages
- Premium: All 42 possible
- First language = Primary language
- Displayed first when display starts
- Other languages follow in order
- Click "Save Settings"
- Languages are enabled
- Display starts auto-switching
Configuring Auto-Switching
What is Auto-Switching?
Display automatically switches between enabled languages.
Default Interval: 60 seconds
Example (Pro Plan with EN + DE):
00:00 - 01:00: Display in English
01:00 - 02:00: Display in Deutsch
02:00 - 03:00: Display in English
... and so onExample (Premium with EN + DE + IT):
00:00 - 01:00: Display in English
01:00 - 02:00: Display in Deutsch
02:00 - 03:00: Display in Italiano
03:00 - 04:00: Display in English
... Cycle repeatsAdjusting Interval:
Recommendation: 60 seconds - Enough time to read, not too long
What Gets Translated?
UI Elements:
✅ Tab labels (Departures/Arrivals → Abflüge/Ankünfte)
✅ Column headers (Time, Flight, Destination, etc.)
✅ Status badges (Scheduled, On Time, Delayed, etc.)
✅ Weather widget (Feels like, Humidity, Wind, etc.)
✅ Footer text (Last updated → Zuletzt aktualisiert)NOT Translated:
❌ Airport names (remains "Vienna International Airport")
❌ Airline names (remains "Austrian Airlines")
❌ City names (remains "Frankfurt", not "Frankfort")
❌ Gate/Terminal numbers (stay as from API)Why Not?
International standards (IATA) require English/original names for clarity.
Language Indicator
Where Visible?
Example:
┌─────────────────────────────┐
│ LobbyFlight Display │
│ [Flight data here] │
│ │
│ [DE] ← Language Badge
└─────────────────────────────┘Weather Widget
Enabling the Weather Widget
Step-by-Step:
- Log in to the portal
- Click on "Settings"
- Scroll to "Show Weather"
- Toggle "Show Weather" to ON
- Widget is automatically enabled
- Metric (°C, km/h) - Standard in Europe
- Imperial (°F, mph) - Standard in USA
- Click "Save Settings"
- Weather appears on display after refresh
Plan Availability:
Weather Widget Layout
Position: Top right of the display
Information Displayed:
┌─────────────────────────┐
│ [Weather Icon] 18°C │
│ Partly cloudy │
│ │
│ 💧 65% 💨 12 km/h │
│ Feels like 16°C │
│ │
│ 3-Day Forecast: │
│ Mon Tue Wed │
│ 20° 22° 19° │
│ 15° 17° 14° │
└─────────────────────────┘Details:
Weather Data Source
API: OpenWeatherMap
Update Interval:
Airport-Based:
With Multiple Airports:
Configuring Units
Metric (Default):
Temperature: °C (Celsius)
Wind: km/h (Kilometers per hour)
Precipitation: mm
Pressure: hPaImperial:
Temperature: °F (Fahrenheit)
Wind: mph (Miles per hour)
Precipitation: inches
Pressure: inHgSetting:
Recommendation: Metric for Europe, Imperial for USA
Weather Icons
Icon Set: OpenWeatherMap Standard Icons
Examples:
☀️ Clear sky
⛅ Few clouds
☁️ Cloudy
🌧️ Rain
⛈️ Thunderstorm
❄️ Snow
🌫️ FogAnimated Icons: Yes, subtle animations for better UX
Disabling the Weather Widget
If Not Needed:
Why Disable?:
Combined Features: Languages + Weather
Multilingual Weather Widget
Automatic Translation:
Example (EN → DE Switch):
English:
┌────────────────────┐
│ ☁️ 18°C │
│ Partly cloudy │
│ 💧 65% 💨 12 km/h│
│ Feels like 16°C │
└────────────────────┘
German (after 60 seconds):
┌────────────────────┐
│ ☁️ 18°C │
│ Teilweise bewölkt │
│ 💧 65% 💨 12 km/h│
│ Gefühlt 16°C │
└────────────────────┘Optimal Configuration (Pro Plan)
Scenario: Hotel in Vienna with international guests
Recommendation:
Languages: EN (primary) + DE (secondary)
Language Interval: 60 seconds
Weather: Enabled
Weather Units: Metric (°C)
Airport: VIE (primary)Result:
Optimal Configuration (Premium Plan)
Scenario: International business hotel
Recommendation:
Languages: EN + DE + FR + IT (most frequent guests)
Language Interval: 90 seconds
Weather: Enabled
Weather Units: Metric
Airports: VIE + MUC + ZRH (Multi-Airport)Result:
Technical Details
Translation Files
Location: /public/locales/[lang]/common.json
Structure:
{
"flight": {
"time": "Time",
"flightNumber": "Flight",
"destination": "Destination",
"status": "Status",
"terminal": "Terminal",
"gate": "Gate"
},
"weather": {
"feelsLike": "Feels like",
"humidity": "Humidity",
"wind": "Wind"
}
}Fallback: If translation is missing, English is used
i18next Integration
Library: react-i18next
Features:
Configuration:
i18n.init({
fallbackLng: 'en',
interpolation: { escapeValue: false },
react: { useSuspense: false }
})Weather API Calls
Optimization Through Caching:
API call: Every 30 minutes
Redis Cache: 30 minutes TTL
Multiple hotels share cache (same airport)Cost Efficiency:
Without cache: 48 calls/day per hotel
With cache (10 hotels VIE): 48 calls/day total
Savings: 95%+ with multiple hotelsTroubleshooting
Languages Not Switching
Problem: Display stays in one language
Solution:
Weather Not Displaying
Problem: Weather widget is missing
Solution:
Weather Data Inaccurate
Problem: Temperature/conditions don't match
Possible Causes:
Solution:
Translations Missing
Problem: UI elements stay in English
Solution:
Best Practices
Language Selection
Basic Criteria:
1. Main guest nationalities (from booking data)
2. Geographic location (neighboring countries)
3. Business travelers (EN almost always)Examples:
Vienna: EN + DE (Standard)
Prague: EN + CZ + DE (many German tourists)
Bratislava: EN + SK + HU (near Hungary)
Ljubljana: EN + SI + DE + IT (4 languages useful)Weather Widget Usage
When to Enable?:
Display Real Estate:
Frequently Asked Questions
Can I add more than 42 languages?
We support 42 languages covering the world's major travel markets, including right-to-left scripts (Arabic, Hebrew, Persian). If you need a language that isn't listed, contact us.
Can I disable language switching?
Yes, enable only 1 language (will be displayed constantly).
Can I switch languages manually (without auto-switch)?
No, auto-switch is currently always active with multiple languages.
Is the weather widget displayed in all languages?
Yes, weather descriptions are automatically translated.
Can I add my own translations?
Not currently. Contact support for corrections/improvements.
Does the weather widget cost extra API calls?
Yes, but optimized through caching. No additional cost for you.
Next Steps
After configuring languages & weather:
Support
Questions about languages or weather?