Thanks for your quick reply!
– your code is in /child-theme/functions.php (at the very end)
– I moved the po/mo files from /wp-content/languages/plugins to /child-theme/languages/
Debugging shows that $loaded is true:
$loaded = load_textdomain( $text, $mofile );
No comes the weird behavior:
If mo/po files are available in /wp-content/languages/plugins, the whole plugin is translated.
If I move them to /child-theme/languages/ only some terms are translatet. For instance, only “booking” and “settings” from the main menu are translated.
-
This reply was modified 4 years, 7 months ago by mkk84.
-
This reply was modified 4 years, 7 months ago by mkk84.
-
This reply was modified 4 years, 7 months ago by mkk84.
-
This reply was modified 4 years, 7 months ago by mkk84.