Do you frequently notice the update indicators in your WordPress interface and hurry over to apply the latest fixes… only to find that the update is actually a only yet another translation update for a language you don’t even use at all?
After a flurry of updates this week for Russian, Romanian and other language packs that don’t impact my use of WP in any way, I decided to check out how to nullify these frequent translation updates. As with many aspects of WordPress, it’s pretty easy and file-based.
To prevent this, you just need to remove the unused language packages in
Simply delete the language files for any languages you don’t use, and WordPress will not continue to attempt these extraneous translation updates!
If you manage your WordPress files via Bash it’s easy to delete all languages using
$ find wp-content/languages -type f \( -name \*.mo -o -name \*.po \) -delete
Find comes in handy again if you wanted to, say, remove all translation packs except for a certain language. In this example, I’ll keep Canadian English but remove all other translations:
$ find wp-content/languages -type f ! -name "*-en_CA.*" -delete
Once that’s done, WordPress will no longer try to bring down updates to these files every time the community publishes improved phrase sets in these languages.
Reversing Course: Adding Languages Back
Decided you do want some of those language packs after all? No problem!
Starting with WordPress 4.1, it’s very easy to add languages to WordPress that aren’t currently installed. In the WordPress Dashboard, the Settings > General screen shows an option for Site Language. The accompanying menu will show the Installed language(s) up top, followed by a long list of available language and dialect packs. Pick any of these from the list, and WordPress will download the latest available translation files.
Even if you don’t love the frequency of language updates that you don’t personally use, you have to appreciate how much work the WordPress community puts in to make WordPress available and up-to-date in so many languages and dialects.