Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #858251

    mrboats
    Participant

    Is the cart word “Item” translatable? I did not find it in the X .po files? Any idea in which .po file it might reside if it is translatable?

    If it is not in any file, then this would be a small bug to fix?

    #858318

    Lely
    Moderator

    Hello There,

    Would you mind giving us the exact URL with the word Item so we can give see which part and then give you an exact suggestion?

    Always,
    X

    #858844

    mrboats
    Participant

    Sure: http://dokk.fi/, the page is all in Finnish except for the word “Item” in the cart.

    #859334

    Darshana
    Moderator

    Hi there,

    Please refer to the following thread (https://community.theme.co/forums/topic/woocommerce-menu-item-translation-bug/).

    Hope that helps.

    #859458

    mrboats
    Participant

    For some reason this does not seem to work. I have the compiled mo file in the right folder (see image below for double check) and the item seems to be edited (see po edit screen shot). I’ve clear the cache etc. What am I missing?

    #860064

    Rue Nel
    Moderator

    Hello There,

    Please rename your .po and .mo file. You need to use this filename format:

    __x__-en_US.po
    __x__-en_US.mo

    I think in your case, you need this:

    __x__-fi.po
    __x__-fi.mo

    Hope this helps. Please let us know how it goes.

    #861073

    mrboats
    Participant

    Ah, I see. Then you should also name the pot file __x__.pot!

    #861083

    mrboats
    Participant

    OK, I did the changes and now I can see why some other people also have a problem. What happens is that the “Item” text for the cart “flashes” to the translated word but is then immediately overwritten with the English text. So it looks like the text is written in two different locations of your code (or there is something somewhere else) that overwrites it. Could there be a css

    content: "Items";

    or similar somewhere??

    You can see the effect yourselves here: http://dokk.fi/kauppa/

    The Finnish translation for Item, “kpl”, flashes for an instance and is then overwritten by with “Item”!

    The is 3.4.4, btw.

    #861458

    mrboats
    Participant

    Cancel this, now it started working, must have been some kind of cache glitch, I’m good now!

    #861471

    mrboats
    Participant

    This is getting a bit out of control, but cancel the cancel. What now happened is that the English version is now overriden in the same way by the Finnish translation??? So there is some sort of wierd hysteresis in this. I have Comet cache installed, it would somehow seem that there is some interaction with some form of cache?

    you can now see the problem by toggling between the English (http://dokk.fi/en/) and the Finnish (http://dokk.fi/) version? Depending of the state of the moon or something, one or the other translation is strangely overwritten by the other language? And it only occurs in just this one place?

    #861824

    Rad
    Moderator

    Hi there,

    Translation system is part of WordPress system, and yes, can be affected by cache if they’ll intend to do it. Though I can’t check your translation as the behavior is different on my end.

    The Finnish page redirects me to English page, I don’t think this is translation’s or theme’s feature. This could be 3rd party plugin or hosting’s setting. This is quite a weird behavior.

    Do you have any translation and redirect plugin? Would you mind providing your admin login credentials in private reply? I like to check it too.

    Thanks!

    #862271

    mrboats
    Participant
    This reply has been marked as private.
    #863030

    Rad
    Moderator

    Hi there,

    I checked but no luck finding what causes it. Is it okay if I disabled all the plugin and reset qTranslate settings? Please backup your entire site.

    Have you tried other translation plugin?

    Thanks.

    #864509

    mrboats
    Participant
    This reply has been marked as private.
    #865154

    Rue Nel
    Moderator

    Hello There,

    Thanks for the feedback. This is something we can add to our list of feature requests. This way it can be taken into consideration for next our future release. Please bear with us.

    Regards.