Home Forums WoodMart support forum Translation

Translation

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #72968

    kirilbotev
    Participant

    If possible to replace the duplicated with woocommerce translations like this
    woodmart\inc\template-tags.php
    esc_html_e( ‘Username or email’, ‘woodmart’ );
    to
    esc_html_e( ‘Username or email’, ‘woocommerce’ );

    It’s save time to translate. You don’t have others languages translations of woodmart.
    Or better to make public translation like this
    https://translate.wordpress.org/projects/wp-plugins/woocommerce

    #73002

    Artem Temos
    Keymaster

    Hi,

    Thank you for the report. We will change these translations words domain there 🙂

    Kind Regards

    #73011

    kirilbotev
    Participant

    Hey,

    There is much more like “Password” and others ….

    Please check all!

    If have to translate in several languages it will save a lot of time.

    It is easy to me to download language from here
    https://translate.wordpress.org/projects/wp-plugins/woocommerce
    because you do not have language .po packs 🙁

    #73013

    Artem Temos
    Keymaster

    Yes, we will review all similar texts as well.

    #75287

    kirilbotev
    Participant

    If possible to clear duplicated with woocommerce translation. I found 156 duplicated etires. Can use this php code to compare, found and clear:

    preg_match_all(‘/#:\s+(.*?)\nmsgid\s”(.*?)”/i’, file_get_contents(“woocommerce.pot”), $matches);
    $woocommerce = $matches[2];

    preg_match_all(‘/#:\s+(.*?)\nmsgid\s”(.*?)”/i’, file_get_contents(“woodmart.pot”), $matches);
    $woodmart = $matches[2];

    $result = array_filter(array_intersect($woocommerce, $woodmart));

    print_r($result);

    #75314

    Artem Temos
    Keymaster

    Thank you for the function. We will check it in our future updates.

    Kind Regards

Viewing 6 posts - 1 through 6 (of 6 total)