Tagged: x
-
AuthorPosts
-
September 19, 2016 at 3:32 am #1181036
PomSParticipantHi there,
I have a weird problem with the .mo file.
I use the method you recommend here:https://community.theme.co/kb/translation/
I use a child theme and I have created a folder called languages in the child theme where I uploaded the .mo file. And then I have put the following code in the functions.php of my child theme:
add_action( 'after_setup_theme', 'load_child_language' ); function load_child_language() { load_child_theme_textdomain( '__x__', get_stylesheet_directory() . '/languages' ); }I try this method on a first site and it worked like a charm. Now I am trying it on a second one that will replace the first one but it doesn’t work. I don’t know why since I have done exactly the same things 🙁
Anyone could help me please?
September 19, 2016 at 3:40 am #1181043
Paul RModeratorHi,
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.
September 19, 2016 at 4:27 am #1181085
PomSParticipantThis reply has been marked as private.September 19, 2016 at 4:51 am #1181118
ChristianModeratorHey there,
Sorry but I couldn’t login with the given FTP credentials. Please check.
Thanks.
September 19, 2016 at 5:01 am #1181131
PomSParticipantThis reply has been marked as private.September 19, 2016 at 5:44 am #1181186
ChristianModeratorHey there,
I see you don’t have a .po file. Please see or review our translation guide at https://community.theme.co/kb/translation/
Thanks.
September 19, 2016 at 6:03 am #1181199
PomSParticipantHi,
Well the .po file is just for edition no ? Anyway I have added it and it’s still not functional.
September 19, 2016 at 6:58 am #1181248
ChristianModeratorHey there,
I see the strings in your site are translated. Can you give us a page where strings are still in English?
Thanks.
September 19, 2016 at 8:04 am #1181344
PomSParticipantThis reply has been marked as private.September 19, 2016 at 8:26 am #1181374
ChristianModeratorPlease try editing your shop title and subtitle in Appearance > Customize > Integrity > Shop Options
Thanks.
September 19, 2016 at 8:34 am #1181393
PomSParticipantOh I see… It was functional exacpt that haha. So sorry, was thinking it was the general theme traduction and not a customization.
Thank you sir, you solved the problem ! Have a good day 🙂
September 19, 2016 at 8:42 am #1181413
ChristianModeratorYou’re welcome. Glad we could help. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1181036 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
