Tagged: x
-
AuthorPosts
-
October 8, 2016 at 1:49 pm #1208148
MbzoParticipantHi there,
After a recent update I lost translations. Not sure what went wrong.
I have a child theme set up correctly and the /languages folder is inside the child theme folder (x-child/languages)
I call it via the child theme functions.php
add_action( ‘after_setup_theme’, ‘load_child_language’ );
function load_child_language() {
load_child_theme_textdomain( ‘__x__’, get_stylesheet_directory() . ‘/languages’ );
}The general wordpress language setting is ok, but all the site appears in English.
Somewhat puzzling.
October 8, 2016 at 1:51 pm #1208149
MbzoParticipantThis reply has been marked as private.October 8, 2016 at 2:15 pm #1208167
MbzoParticipantThere were .po and .mo files marked with a “__x__-” prefix and stored in the wp-content/languages/themes folder.
Deleted those and the translation is working again.
Solved adn apologies for opening this ticket too soon!October 9, 2016 at 12:08 am #1208486
Rue NelModeratorHello There,
Thanks for writing in! We are just glad that you have figured it out a way to correct the said issue.
We really appreciate for letting us know!Best Regards.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1208148 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
