Tagged: x
-
AuthorPosts
-
May 11, 2016 at 7:32 am #985723
RubrikaParticipantHi!
I have X theme currently running and translated but I´ve got an issue.
I followed the steps for translating the theme as this link says, on the child theme part. It worked the first time, but now I want to update that translation and it has no effect.
I updated both files (.po and .mo) but it seems to not be working.
I thought that this could be happening because of the function, but I can´t tell.
add_filter( ‘x_enqueue_parent_stylesheet’, ‘__return_true’ );
add_action( ‘after_setup_theme’, ‘load_child_language’ );
function load_child_language() {
load_child_theme_textdomain( ‘__x__’, get_stylesheet_directory() . ‘/languages’ );What am I doing wrong?
May 11, 2016 at 9:23 am #985897
DarshanaModeratorHi there,
Thanks for writing in! We need to check your setup first. Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
May 12, 2016 at 9:24 am #987831
RubrikaParticipantThis reply has been marked as private.May 12, 2016 at 4:26 pm #988532
RadModeratorHi there,
Thanks, would you mind providing the old translation files and the new ones? I like to see what’s the difference and which aren’t applied.
Thanks!
May 13, 2016 at 9:22 am #989738
RubrikaParticipantHi, I used the same translation files. I just updated them with the new fields I wanted to translate
May 13, 2016 at 1:47 pm #990114
DarshanaModeratorHi there,
I have tested your setup and your translation is working. You need to translate all those fields first by opening the PO file and then compile the PO file into MO file. Then upload both files into your child theme’s language folder.
For example, I have tested translating your Search Results field (https://snag.gy/3gQwDE.jpg) as follows (https://snag.gy/IDnEvt.jpg).
Let us know if you have any further issues.
Thanks! -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-985723 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
