Language files for KWeather

KWeather comes with English language support and other languages need to be installed separately. So far, we have fourteen languages to offer.

On the release of version 3.0... (December 2016)

The release of KWeather version 3.0 required a complete overhaul of the translation strings and files. Obsolete language strings were removed and new were added. As a result you may find untranslated strings in the various language files. Such strings will show up in English. 

If you have the time and the capability to make corrections for these translation files, please This email address is being protected from spambots. You need JavaScript enabled to view it. for furhter distribution with KWeather users.

In case your language is not availble, you can choose one of two options

Alternative 1: Add the KWeather translation strings to your Joomla installation for the front-end

Step 1: navigate to Joomla -> Extensions -> Language(s) -> Overrides. In there, select the language for the front-end of your site, see exanple.

Language override 1

Step 2: click New and add the language strings as needed. The four most needed language strings in the front-end are:

  • KWEATHER_HUMIDITY

  • KWEATHER_WIND

  • KWEATHER_PRESSURE

  • KWEATHER_AT

Language override 2

Alternative 2: Create the translation file for your language

Step 1: Download the English language pack and extract it to a folder on your computer. It contains two files:

  • "en-GB.kweather.xml"
  • "en-GB.mod_kweather.ini"

Remame the language prefix ("en-GB") into the prefix of your language. Click here for the overview of all languages recognized by Joomla.

Step 2: The XML file is the so-called manifest. It guides the installation process. Open the manifest and find/replace the language prefix ("en-GB") to the prefix of your language.

Step 3: Edit the contents of the ini file to your needs. There are 12 labels for the front-end on the top, and a whole lot more for the back-end / admin part. 

Step 4: Zip both files and install these using the Joomla extension manager. Now you can testdrive your translations.

If you like KWeather and you've made a translation into another language, please This email address is being protected from spambots. You need JavaScript enabled to view it. to share with other users.

How gets KWeather its language strings?

KWeather gets its language strings from two different locations:

  • Most of the strings in the front-end are provided by Wunderground. The front-end language configuration of your site is communicated to Wunderground to get the propper strings back. Thus setting the front-end language of your site will also change the request to Wunderground.
  • The remainder of the language strings are taken from the language files. There are a few strings in the front-end that come from the language files. In case the language file is missing, KWeather will default to English.

 

© 2015 - Kaleidoscoop