Storing Translation Files
Storing translation files in the right directory is very important to ensure the translations you’ve downloaded, created, or edited remain functional and intact. The best way to do this is to store them inside the languages folder located inside the wp-content folder.
Store Theme Translation Files
Place your theme translation files inside the wp-content/languages/themes
folder. If you don’t have the languages and themes folders, simply create the languages folder, and then create the themes folder inside it.
Updating the theme will not overwrite the wp-content folder. Storing your translation files here will ensure they stay intact during updates.
When storing your language files, remember that the file structure is different and must include the theme name. For example, if the language files are in German, the file names would be savior-de_DE.mo
and savior-de_DE.po
.
Store Plugin Translation Files
Place your theme translation files inside the wp-content/languages/plugins
folder. If you don’t have the languages and themes folders, simply create the languages folder, and then create the themes folder inside it.
Updating the theme will not overwrite the wp-content folder. Storing your translation files here will ensure they stay intact during updates.
When storing your language files, remember that the file structure is different and must include the theme name. For example, if the language files are in German, the file names would be savior-de_DE.mo
and savior-de_DE.po
.