Our modules translate any text according to the Site Language that you set inside WordPress General Settings (Setting>General>Site Language).
Please keep the following things in mind about translation support in our plugin.
Divi
Since our modules use Divi, anything in the modules like the Divi settings will all translate according to how Divi has it set up.
The Events Calendar
Since our modules are based on The Events Calendar, most things are dynamic and are dependent on what translation support they provide.
Divi Events Calendar
Beyond that, any relevant text to our modules automatically translates according to the WordPress Site Language. There are only a few locations that are relevant to our modules that require translation:
- Days of the Week in the Events Calendar module
- Detail Labels in Events Feed and Events Page modules
- Pagination in Events Feed module
- Filters in Events Filter module
- View Event Website default text
- More Info Button default text
Everything else is dynamic, meaning it comes for Divi, The Events Calendar, or user input and is not relevant to our modules. If you notice any issues or have some corrections for your particular language, then please let us know.
Supported Languages
We are gradually adding support for various translations upon request. So far, the support languages are as follows:
- English (United States)
- English (UK)
- German (Deutsch)
- French (Français)
- Spanish (Español)
- Czech (Čeština)
- Dutch (Nederlands)
- Danish (Dansk)
- Norwegian (Norsk bokmål)
- Galician (Galego)
- Arabic
- Swedish (Svenska)
- Italian (Italiano)
- Polish (Polski)
- Portuguese
If you need another language supported, please reach out to us and request it so that we can add it in a future update.
How To Add A New Supported Language
If you are willing to help both yourself and the rest of us by assisting with the translation process for your language, we would really appreciate it! Here are the steps to create a new language file for the plugin. Follow these steps and once you are completed, please share it with us for the benefit of other customers with your same language.
1. Download The Poedit Software
The first step is to download an amazing free tool called Poedit. This tool is an industry standard and is very reputable and very easy to use.
2. Load Translation File In Poedit
After installing the program, open the software and click on the File tab in the top left corner. Select “New from POT/PO file…” Navigate to the plugin folder (it will need to be unzipped) and open the “languages” folder. (NOTE: You may need to change the file type selector to .po if the program has .pot selected by default). Now select the en_US.po file to open it.
3. Choose Language To Translate To
Next, a dropdown selector will appear with a list of all the languages. Select your desired language from the list and click the OK button.
4. Translate The File
Now for the work. Inside Poedit you will see two columns. The first column on the left is the list of all the English words, phrases, and sentences from the plugin. The column on the left will have the corresponding translated words (it will be empty to start). Below this area are two boxes. The first “Source text” box has the source text, and the second “Translation” box is for writing your matching translation.
To begin translating, just select any text from the list and click in the Translation box to write your translation. You can also use the helpful features of the software such as the “Pre-Translate” feature which will go through and translate everything first as good as possible, then you can simply go through and edit the text rather than write all new text. You could also use any online tool such as Google Translate to copy and paste the words or to double-check your translation.
5. Save The Translated File
After completing the translation, go to the File menu and then click on “Compile to MO…” which will save the file as a .mo file. Place the translated file in the same “languages” folder of the plugin. It is important to rename the file correctly by adding “decm-divi-event-calendar-module-” as a prefix to the filename. So for example, if I was saving the file to Polish it would attempt to save as pl_PL.mo so I would add the prefix and save it as “decm-divi-event-calendar-module-pl_PL.mo”
Now your language will start working!