Edson Galina Fortes
Forum Replies Created
-
Hi @changkhongayngo ,
hope you’re fine. I think this blog article can help you : https://blog.weglot.com/fastest-translation-api-benchmark/
Especially the chapter 2 ‘What translation providers do we use’
Hope it help you
Regards
Hi @montino ,
I think the problem come from a conflict between the design of the theme and our design
Can you try this (on a test environment because I can’t test it on your website)
1- remove the weglot switcher from the mobile menu and set up the filter (on a dev car env to be tested)
add_filter( 'wp_nav_menu_items', 'weglot_after_menu' ); function weglot_after_menu( $items ) { $button = weglot_get_button_selector_html( '' ); $items .= $button; return $items; }2- otherwise make an image with the arrow and add in css in the background to bypass the conflict with the pseudo element
Don’t hesitate if you have any question
Best
Hi @hakre ,
thanks for your reply it’s help.
so much the better if it doesn’t break the whole site, but I’m still curious to understand where the problem comes from.
Having a pro account does not block the use of features linked to the json format.
Could you send the pieces of code you tested with the w3c checker?
Best
Hi @hakre,
hope you’re fine?
To have a quick fix, you can try to modify directly /wp-content/plugins/weglot/vendor/weglot/weglot-php/src/Util/JsonUtil.php:55 by replace
$current = $words[$nextJson]->getWord();
byif(!empty($words[$nextJson])){ $current = $words[$nextJson]->getWord(); }So far, the error should come from an invalid dom or json structure. Do you have a live page where I can see the structure where you have this fatal error ?
Best
Hi @breakthefunk ,
hope you’re fine ?
Do you have a live website where I can see the problem ? What do you mean when you say you scan the plugin ? We don’t have this feature on weglot pluginBest
Hi @mwhitney9,
hope you’re fine? It seems to be a problem with your destination languages. Can you go on one of your sites and re-validate your settings and tell me what is your original language and your destination language(s) ?
Best
Hi @montino, you’re right, it’s a thme problem.
The problem seem to be that a :before pseudo element is missing onto the span
to fix it you can add this css :
`.menu-item-weglot span.open_child_menu:before {
font-family: “fontello”;
content: “”;
}If it not works, you may content the theme support
Don’t hesitate if you have any question 😉
Regards
Hi @montino ,
hope you’re fine ?Do you have an url of your website where I can see the problem ?
Regards
Hi @gatien ,
hope you’re fine ? I’ve check you problem and I’m not able to reproduce you’re problem.
I go to this page : https://www.solarbrother.com/acheter/cuiseur-solaire-gosun-go/
When I try to change lang via switcher to spanish, the page seems to be translate in my side : https://www.solarbrother.com/es/acheter/laboratoire-de-cuisson-solaire-sunlab/It seems that you’ve already contact our support and the problem is solved 😉
Best
Hi @marcbelletre,
hope you’re fine?
Can you give me the version of the plugin you use and tell me what kind of plan you have ?
Best
Hi @xorknightmlp ,
in fact, Weglot does not work like that. we do not translate the posts. We parse the html content, to extract the strings to translate that we save on our side. In fact, there is no function that will allow you to retrieve the translated version of a post without the html
Best
Hi @robstyrrell ,
I’m glad it’s working fine now 😃. Can you tell me if you have deactivate the wpseo plugin or find another solution. If you need this plugin I may take a look on this compatibility issueBest
Hi @robstyrrell ,
hope you’re fine. Sorry for the late answer.
When I go to your homepage :https://www.winecorner.co.uk/it/
https://www.winecorner.co.uk/They seems to be translate and I can’t see the log message on the source code.
Can you send me a loom video or a screenshot to be able to see the proble?
Best
Hi @xorknightmlp ,
hope you’re good? Sorry for the late answer.
If you’re code language is de for Deutsch content. If you original post url is http://xorknightmlp.com/myoriginalpost to retrieve this post in deutsch you can go to http://xorknightmlp.com/de/myoriginalpost to see you’re post ine Deutch versionHope it’s help you
Regards