A quick question for my WordPress timeline…
`/wp-content/languages/themes/theme_x/*.mo`
`/wp-content/themes/theme_x/languages/*.mo`
what is the difference of these directories and how are these parsed in regard to the translated string that's visible in the front end if both have a (different) translation for the same string? My guess is that the `theme_x/languages/`will trump, but what purpose has the `languages/theme_x/` directory? Where is the "correct" place for translations?
2 Reaktionen zu “WordPress basics - language directories”
The "local" language files that are provided by a theme are located here: `/wp-content/themes/theme_x/languages/*.mo`. The other folder is the languages cache and that cache is used by the system. I think the cache is updated with the local files and/or the files from https://translate.wordpress.org/
This is my "gefährliches Halbwissen" ;)
Kommentare sind geschlossen.