[resolved] Translate Attributes using Qtranslate (4 posts)

  1. Kavilar
    Posted 3 years ago #

    Hi fiends!

    I have installed WooCommerce with 4 languages ​​using qTranslate.
    Currently everything works fine, but there are some fields WooCommerce I can not translate.

    They've filled "variable" fields to create the product.
    Ex: Azul (spanish) - Blue (Inglés).

    It is, therefore, the product artributos.
    I want to include these attributes in each language, but appear all at once.

    For now I used the <! -: es ->Azul<! -: -><! -: en ->Blue<! -: -> for each language, but are all the words, one in each language: "AzulBlue"

    Any suggest?


  2. 00michaelj
    Posted 3 years ago #

    I'm in the same situation, I have tried your solution and also using:


    but to no avail. I would love a simple solution to this. I have the qTranslate slug plugin, but seems to have no affect on product attributes.

  3. Kavilar
    Posted 3 years ago #

    I have solved the problem.
    I had to hire a programmer because it was too complex for me to touch the PHP code in the template: variable.php

    We had to add the following line:

    echo __($gateway->get_description(),'woocommerce');

    The programmer did this work for me, so I can not help much more about where to place this code.

    Good Luck !

  4. 00michaelj
    Posted 3 years ago #

    Thanks for the reply.

    The only variable.php file I can see within woocommerce is

    woocommerce->single product->add to cart->variable.php

    I'm pretty sure it's not that file. But thanks anyway, I'll open a new topic seeing that this is resolved for you

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic