languages directory is mapped to
wp-content/languages, and should contain the
.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:
- Download the Italian WordPress distribution from here.
- Unpack it to, for example,
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.mofrom it. If you need to do this and need assistance, let us know in a ticket, and we’ll be happy to help.)
- After that, you’ll have to commit, push up, and deploy the changes.
- To upload other languages, follow the same steps, downloading that particular language WordPress distribution in step 1.