Skip to content

Languages

The five bundled languages, how translations activate, and compass-direction localisation.

Updated 3 min read

Every field label, help text, dropdown option, and every front-end string (day names, "Feels like", error messages, the 26 weather-condition descriptions, all 16 compass points) is fully translated into five languages, shipped in the same install package:

Language Tag Files
English (default) en-GB language/en-GB/en-GB.mod_weather.ini + .sys.ini
German de-DE language/de-DE/de-DE.mod_weather.ini + .sys.ini
French fr-FR language/fr-FR/fr-FR.mod_weather.ini + .sys.ini
Spanish es-ES language/es-ES/es-ES.mod_weather.ini + .sys.ini
Italian it-IT language/it-IT/it-IT.mod_weather.ini + .sys.ini

Nothing needs configuring on the module itself — there is no language picker on any tab. The module simply speaks whichever language the visitor (frontend) or the administrator (admin screens) already has active, exactly like every other Joomla extension.

How this actually activates

This is standard Joomla behaviour, not specific to this module, but it trips people up: an extension's bundled translation only installs for a language that already has its own core Joomla language pack installed on the site. Joomla's installer checks whether language/de-DE/ (etc.) already exists before copying anything into it — if the core German language pack isn't installed, the German .ini files in this module's package are silently skipped, and the module falls back to English. This was verified directly against the installer's own logic, not assumed.

So, to see the module in German, French, Spanish or Italian:

  1. Install the corresponding core Joomla language pack first — System → Manage → Install → Languages, find it in the list (or System → Install → Extensions if installing a pack downloaded manually), install it.
  2. Re-install (upgrade) this module, or simply install it fresh — either way, the installer now finds the language/xx-XX/ folder already there and copies this module's translation into it alongside the core strings.
  3. Switch the site's (or your own admin user's) language to that locale in the usual place — System → Site Languages for the frontend, Users → Edit profile → Basic Settings → Language for one admin user's own admin screens.

If you install this module before the language pack, nothing breaks — just repeat step 2 (a simple re-install/upgrade over the existing copy) after the language pack is in place, and the translation appears.

A translation detail worth knowing: wind directions

The 16-point compass abbreviations (N, NE, ENE, …) are not simply transliterated — they're the actual abbreviations each language's own weather services use. German, French, Spanish and Italian all abbreviate West differently from English (German uses "O" for Ost/East, the other three use "O" for Ouest/Oeste/Ovest — West), so a literal letter-for-letter copy of the English compass points would have been wrong, not just unidiomatic. For example, English "WSW" reads:

Language WSW becomes
German WSW (unchanged — this one coincides)
French / Spanish / Italian OSO
Image

Everything you need to build on Joomla — one subscription away.

Resources