Skip to content

How-to Guides

Technical References

Upload languages to the language directory

The languages directory is mapped to wp-content/languages, and should contain the .po and .mo files which specify the translated strings for the site. In order to upload the language files for a particular language, follow these steps. In this example, we’ll be uploading Italian:

  1. Download the Italian WordPress distribution from here.
  2. Unpack it to, for example, /path/to/wordpress/
  3. cp -r /path/to/wordpress/wp-content/languages/* /path/to/your-repo/languages/
    (IMPORTANT! If you have custom translations in any currently present it_IT.* files, you might want to back those files up. You can then backport those custom translations in the new it_IT.po and regenerate it_IT.mo from it. If you need to do this and need assistance, let us know in a ticket, and we’ll be happy to help.)
  4. After that, you’ll have to commit, push up, and deploy the changes.
  5. To upload other languages, follow the same steps, downloading that particular language WordPress distribution in step 1.

Last updated: November 27, 2020