Tagged: x
-
AuthorPosts
-
March 30, 2016 at 2:02 am #858251
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?
March 30, 2016 at 3:11 am #858318Hello 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,
XMarch 30, 2016 at 9:58 am #858844Sure: http://dokk.fi/, the page is all in Finnish except for the word “Item” in the cart.
March 30, 2016 at 2:38 pm #859334Hi there,
Please refer to the following thread (https://community.theme.co/forums/topic/woocommerce-menu-item-translation-bug/).
Hope that helps.
March 30, 2016 at 3:54 pm #859458For 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?
March 30, 2016 at 10:50 pm #860064Hello 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.
March 31, 2016 at 11:36 am #861073Ah, I see. Then you should also name the pot file __x__.pot!
March 31, 2016 at 11:46 am #861083OK, 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.
March 31, 2016 at 3:57 pm #861458Cancel this, now it started working, must have been some kind of cache glitch, I’m good now!
March 31, 2016 at 4:04 pm #861471This 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?
March 31, 2016 at 9:30 pm #861824Hi 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!
April 1, 2016 at 4:00 am #862271This reply has been marked as private.April 1, 2016 at 3:07 pm #863030Hi 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.
April 3, 2016 at 4:18 am #864509This reply has been marked as private.April 3, 2016 at 7:25 pm #865154Hello 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.
-
AuthorPosts