Location Weather Pro

  1. Home
  2. Docs
  3. Location Weather Pro
  4. Language & Localization

Language & Localization

You can translate Location Weather Pro easily using Poedit App.

Download Poedit
There are several apps available to help you with translating .PO files. PoEdit is a popular one of them, and it’s available on every major platform. You can download it from here.

Start Translating
Open the default location-weather-pro.pot file from your /wp-content/plugins/location-weather-pro/languages/ folder. When you save your work PoEdit will generate you a .MO file which will be needed to apply for your work.

Name your files properly WordPress recognizes your localization by a special formatting of file names. You will need to include the right language and country codes so it can identify what language is your work made for.

For example, a German localization would have the file names: location-weather-pro.pot and location-weather-pro.mo. You must follow this syntax, including the dash, underscore, and lower or uppercase letters.

Apply Your Localization

Copy your newly created .PO and .MO files into the /wp-content/plugins/location-weather-pro/languages/ folder. WordPress should use them immediately if you named your files properly.

If you want to learn more about how WordPress handles language translation then check this link: http://codex.wordpress.org/Translating_WordPress