Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #137989

    rfrbase
    Participant

    Hi support,

    I have placed translation files in 3 places:
    1. themes/x/framework/lang/lt_LT.mo
    2. wp-content/languages/lt_LT.mo
    3. wp-content/languages/plugins/woocommerce-lt_LT.mo

    everything is translated, but… I have 2 headers that are not translated and I can’t find them…

    1. first on is when you enter “cart” page: http://www.miegonamai.lt/cart/ – You can see that everything is translated, but the word “Cart” if it is translated in woocommerce-lt_LT.mo it should be “Krepšelis”

    2. second is when you enter “checkout” page: http://www.miegonamai.lt/checkout/ – it will redirect you to “cart” page, so buy some product and visit “Checkout” page again. You can see that everything is translated, but the word “Checkout” if it is translated in woocommerce-lt_LT.mo it should be “Apmokėjimas”.

    On the same page at the bottom you will see not translated strings:
    Product, Total, Cart Subtotal, Shipping and Handling, Order Total. Here is the problem, that if you click cmd+r “refresh” you will notice that these strings are translated while page is loading, but when loading ends it is in english again.

    Please help 🙂

    #138146

    Kosher K
    Member

    Hi There,

    Can you please review this topics

    http://theme.co/x/member/forums/topic/woocommerce-problems/
    http://theme.co/x/member/forums/topic/woocommerce-in-german/

    I hope that helps,

    Let us know how it works.
    Cheers

    #138364

    rfrbase
    Participant

    Well I read that but no help, all places where translation should be done it is done, have no idea, CART and Checkout is apparently hardcoded somewhere… can it be so?

    And that automatic revert to english of the last part of Checkout section is a problem too, can’t figure out what is the problem about.

    #138428

    Zeshan
    Member

    Hi there,

    Would you mind providing us with login credentials so we can take a closer look at your setup? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thank you.

    #138674

    rfrbase
    Participant
    This reply has been marked as private.
    #138864

    Zeshan
    Member

    Hi there,

    Thank you for providing the credentials!

    I checked “lt_LT.po” from wp-content/themes/x/framework/lang/ and couldn’t find a translation given for “Cart” or “Checkout” string.

    Please add the translation using the X text domain __x__ for “Cart” and “Checkout” strings. You can also use WPML String Translation for this purpose (http://wpml.org/documentation/getting-started-guide/string-translation/).

    Hope this helps. 🙂

    Thank you.

    #139133

    rfrbase
    Participant

    Hi support,

    I have resolved the problem, all string were OK, no needed to additionally translate these string. “Checkout” and “Cart” titles were simple Pages title, so I simply changed the name of the page and problem solved, all other translations done good.

    Now the second problem still haven’t been reviewed:

    On the Checkout page at the bottom you will see not translated strings:
    Product, Total, Cart Subtotal, Shipping and Handling, Order Total. Here is the problem, that if you click cmd+r “refresh” you will notice that these strings are translated while page is loading, but when loading ends it is reverted back to english again.

    IMPORTANT: Please add a product to Cart, because that problem is seen only on checkout page…

    Here is Picture for the problem in case you can’t simulate it: http://www.miegonamai.lt/problem.jpg

    #139162

    rfrbase
    Participant

    Problem solved:

    I have installed all WPML plugins and activated WPML WooCommerce Multilingual, it solved the last part of the puzzle :).

    Thanks for the help.

    #139303

    Christian
    Moderator

    Glad you’ve sorted it out.