Translations

Timely translations are powered by GlotPress. You can help translate the Core and Add-ons by logging in to our Translations page. Use the same login you created on https://archive2.time.ly.

As a new user, you can suggest new translation strings in each project. Your translation suggestions will await approval from a validator or admin. If you would like to suggest a new language to translate, or would like to become a validator, please post your request in our translation forum.

Contributing to a Translation

To get started first select a project from the list. In this case we are going to select “Core Calendar”
Screen Shot 2014-05-15 at 11.30.28 AM

Now select the version you would like to work on. The newest release is marked.
Screen Shot 2014-05-15 at 11.30.43 AM

You will now see a list of languages available for you to translate. If you do not see your language, please request it in our forum.
Screen Shot 2014-05-15 at 11.30.56 AM

Once you have selected your language, you can begin translating. Simply double click next to the string, and type your input. When you save you will automatically be taken to the next string in the list. translation screen

Your submission will appear bordered by yellow, and indicates it is waiting for approval from a validator. In this case it is green as the logged in user is an admin.
Screen Shot 2014-05-15 at 11.58.26 AM

Downloading a Translation File

To download a .po file to use on your site start by selecting your language in the appropriate project. Scroll to the bottom of the page and look for the blue “Export” link under the legend. Clicking this will allow you to download this language’s .po file. Remember if you use add-ons, you will need to download the .po file for each add-on.
Screen Shot 2014-05-15 at 11.32.56 AM.

Thank you to user Eerk for this next part! See his original post here.

Installing the translation File – short version

  1. Install the localized WP language files in the wp-content > plugins > all-in-one-event-calendar > languages directory (for Core calendar).
  2. Modify the language line in the wp-config.php file in the root directory of your WP installation:
    1. Make a local copy of that fileModify the language line in the wp-config.php file in the root directory of your WP installation:
      Search for ‘WPLANG’, you should find a line saying “define (‘WPLANG’, );”
    2. Add the language-Country codes behind the comma. For Dutch in the Netherlands the line should now read “define (‘WPLANG’, ‘nl_NL’)” (make sure these codes are the same as the ones used to rename the language files)

 

Installing the translation file – Longer Version

1. Go to the Time.ly GlotPress translation page of your language:

  1. Go to All-in-One Event Calendar translation pages
  2. Click the current (Active) project, providing you are using that version of AI1EC
  3. Choose your desired language (see NOTE below)
NOTE:
Make sure all strings have an approved translation. Untranslated or Waiting approval strings will not be exported and remain English. The language title should have a [100%] behind it. Reach out to your language’s validator (or become one as I did 🙂 in order to have the translations completed.

2. Export the language files:

  1. At the bottom of the screen look for the ‘Export’ link. Keep the first drop down menu on ‘all current’ and the second on ‘Portable Object Message Catalog (.po)’
  2. Click ‘Export’ and the .po file should download to your computer
  3. Switch the second drop down menu to ‘Machine Object Message Catalog (.mo)’ and click ‘Export’ again

3. Rename and upload the language files:

  1. Locate the two downloaded files. They should be named something like ‘timely-all-in-one-event-calendar-218-nl.po’ and .mo
  2. Rename them to ‘all-in-one-event-calendar-nl_NL.po’ and ‘all-in-one-event-calendar-nl_NL.mo’
  3. upload the files to [your site] > wp-content > plugins > all-in-one-event-calendar > languages directory (for Core calendar).
  4. Go to your site: presto! TIP: You may need to (force) refresh the page in order to delete any local caches. IF NOT presto THEN GOTO 4
If you want to install translation files for one of the add-ons please use it directory instead of core calendar all-in-one-event-calendar.

4. Set WP to the desired language:

This is an optional step. Depending the language settings of WP you have on your site, it may be necessary to tell WP to switch to another default language (yours preferably 🙂 If you have an out of the box WP install in English you may also have to install the localized WP language files. Added bonus of this step is that all your admin pages are now in your language too. This proved very useful for some of our editors who are less then fluent in English.