Yes. Events Calendar PRO adapts itself to the language your WordPress install is using. It will default to English, unless you run WP in a different language — in which case the calendar will reflect that. The Events Calendar and our add-ons feature translation files for a number of languages. The most recent list of available languages may be found here.
Note that not all of these are 100% complete, so no guarantees that everything will be translated. You may want to update the translation or make a new one if your language is not available. If you are interested in translating for us in exchange for a discount, please send us an email.
If you want to use a language that we have a translation for, here’s how to have WordPress use that translation in your install:
- You’ll need to know your language’s code. Each language has an official code that WordPress uses to reference it, so you’ll want to double check on the language list what code you’re looking for. For example, the code for German is DE_de.
- Make sure the language files you need are in place. Go to wp-content/plugins/the-events-calendar/lang and check the list. There should be two files for each language code, a .po and a .mo file. If your language files aren’t there but the language is on our translation list, send us an email and we’ll look into it.
- Open your wp_config file. Scroll down to line 64 (or thereabouts). It will look something like this:
- Enter your language code after WPLANG. For example, to change your site’s language to German, you would enter de_DE:
If you’re confused about how to change your site’s language by modifying the wp-config.php file, watch this screencast.
- Lastly, in your dashboard, go to Settings –> Permalinks and clear your permalinks. You should now see the language you enabled. Keep in mind that translations may not be 100% complete or may only exist for some plugins, so you may still see some English.
Making or updating a translation? Here’s how to translate a plugin using .po files:
- To translate the plugin in your own language first copy the content of the .pot file for either The Events Calendar (/wp-content/plugins/the-events-calendar/lang/tribe-events-calendar.pot), Events Calendar Pro (/wp-content/plugins/events-calendar-pro/lang/tribe-events-calendar-pro.pot) or one of our other add-ons.
- For this example let’s say you were creating a Japanese translation. You would create a new file and name it ‘tribe-events-calendar-pro.jp_JP.po’ (for Pro) and/or ‘tribe-events-calendar.jp_JP.po’ (for the base open source plugin). You can double check that you’re using the correct naming pattern by looking in the /lang folder of the plugin you are translating and comparing the the other files.
- Make any translation changes you want in the .po files and save.
- Next, fire up PoEdit or other program to convert your .po file and open the .po file and then click the Save button in PoEdit to generate the .mo file. If you opened the .po files from the /lang folder for a plugin, you should now have the associated .mo file in the folder as well.
One last point: if you’re just trying to change the title of your calendar, there is no need to edit the .po/.mo files or adjust the language in any way. See our separate FAQ entry for guidance on that simple change.
Posted in: Installation/Setup