Tagged: x
-
AuthorPosts
-
March 27, 2016 at 7:36 pm #854575
Hi,
I use Renew + WooCommerce facing a german translation issue.
Some strings are still english, as far as I could see these are in Woocommerce:
“Apply Coupon”, “Your cart is currently empty.”, “Return To Shop”
Furthermore “Read more” in the blog.
I found some forum posts here concerning that and will try the solution with poedit, but additionally I want to know, WHY is it so, that these strings aren’t translated immediately after x theme install and most of the other strings are translated correctly out of the box?
Thank you very much!March 27, 2016 at 9:02 pm #854654Hello There,
Thanks for posting in! Those keywords is included in X theme. You also need to translate the X theme. To do that, simply follow the detailed instruction here: https://community.theme.co/kb/theme-installation/
Hope this helps.
March 28, 2016 at 4:40 am #854927Thanks for reply.
Your link has no information about translation. An oversight?
I followed the steps under https://community.theme.co/kb/translation/ with poedtit, but without success.
The phrases described above are still in english while anything else appears in german as it should.
Neather copying the “__x__-de_DE.mo” file to “/wp-content/languages/” nor to “/wp-content/languages/themes” solved it.
The phrases are correctly translated in “/wp-content/languages/plugins/woocommerce-de_DE.mo” too,
So I wonder why this doesn’t work.
Running wordpress with twenty sixteen theme works.March 28, 2016 at 5:08 am #854940Hi there @salilou,
Sorry for the confusion!
The article for translation is: https://community.theme.co/kb/translation/
As for the issues you are facing with translation, 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.
Thanks!
March 28, 2016 at 5:36 am #854963This reply has been marked as private.March 28, 2016 at 6:51 am #854996Hi there,
Thanks for the login credentials!
I’ve tried to log into your FTP account, but I’m getting “Connection refused” error. Would you mind confirming the FTP credetials again? Don’t forget to select Set as private reply to ensure your data remains hidden from other users.
Thank you!
March 28, 2016 at 7:37 am #855021This reply has been marked as private.March 28, 2016 at 7:37 am #855023This reply has been marked as private.March 28, 2016 at 8:07 am #855053This reply has been marked as private.March 28, 2016 at 11:44 pm #856164Hi there,
I’ve checked your site but couldn’t see any conflict in the language files. These should work fine. Can you install a child theme in your site and add following code in the functions.php file:
add_action( 'after_setup_theme', 'load_child_language' ); function load_child_language() { load_child_theme_textdomain( '__x__', get_stylesheet_directory() . '/languages' ); }
After that, create a folder languages in your child theme folder and add the language files to it. The names of language files should not contain the theme textdomain, i.e., names should be:
de_DE.po
de_DE.moLet us know how it goes.
Thank you!
March 29, 2016 at 2:50 pm #857406thank you
shall I install it and ACTIVATE or just install?March 29, 2016 at 11:42 pm #858090Hi Salilou,
Yes, please activate it after the installation.
Thank you!
March 31, 2016 at 11:58 am #861105Thank you
I have installed and activated the child theme x-child and did all steps but the problem still exists
Then I have added the php code to a snippet plugin instead which should gain the same effect – it doesn’t work, tooMarch 31, 2016 at 9:58 pm #861857Hi there,
Would you mind providing your translation files? I like to check and test it on my installation. I can do that but your FTP server is refusing my connection.
Thanks.
April 1, 2016 at 2:47 am #862178This reply has been marked as private. -
AuthorPosts