Edson Galina Fortes
Forum Replies Created
-
Hi,
it’s strange. Can you try this code :
add_filter( ‘weglot_href_lang’, $render );
to modify the hreflang we generate. For exemple you can do :
add_filter( ‘weglot_href_lang’, ‘weglot_href_lang_custom’ );
function weglot_href_lang_custom( $render ) {
$render = str_replace(‘//www.reed-blake.ch’, ‘https://www.reed-blake.ch’, $render);
return $render;
}
if it’s not work, don’t hesitate to reach your issue at support@weglot.com to share me your website access and I can take a look.
RegardsHi @johnmandarine,
hope you’re fine ? Sorry for the issue you’re facing.
Yes there is some way to fix that.
If you htink you’re able to put your own hreflangs you can use this snippet to disable Weglot hreflangs :
add_filter( ‘weglot_add_hreflang’, ‘__return_false’ );
Another way is to use this snippet : add_filter( ‘weglot_href_lang’, $render );
to modify the hreflang we generate. For exemple you can do :
add_filter( ‘weglot_href_lang’, ‘weglot_href_lang_custom’ );
function weglot_href_lang_custom( $render ) {
$render = str_replace(‘//www.reed-blake.ch’, ‘https://www.reed-blake.ch’, $render);
return $render;
}
Don’t hesitate if you need more help.
RegardsHi @jerrymayalor555,
hope you’re fine. Do you still facing your issue ?
RegardsHi @webmark487,
i’ve make a short video : https://www.loom.com/share/156408252bf54853b9224dd0f5029d02?sid=911611ce-ddeb-408b-a844-06a6fa31f941
cause in my site i’m not able to reproduce an issue using elementor form X Weglot
Can you give me what version of Weglot and Elementor (pro) you use ? Can you make a screenshot or a video show me your issue ?
RegardsHi @webmark487,
i’ll take a look today and go back to you this week
RegardsHi @jerrymayalor555,
hope you’re fine? Sorry for the issue you’re facing. The issue is knowing on our side and will be fix with the next release. For the moment you can use this version of the plugin with the fix : https://we.tl/t-PF4V8VvfWN
you can install this version and when the update (4.2.5) is release you can do the upgrade 😉
RegardsHi @webmark487,
when you talk about elementor form, you mean this element form provide by elementor whe you building a page or you use a specific plugin ?
Regards
:Hi @webmark487,
there is a mistake on my previous snippet. Here the good one :add_filter('the_content', 'display_draft_message');
function display_draft_message($content) {
global $post;
if ($post->post_status == 'draft' || $post->post_status == 'private') {
add_filter( 'weglot_active_translation_before_process', '__return_false' );
}
return $content;
}Hi @webmark487,
it’s not an option you can find on our dashboard. I’ve to get the right action launch when the form is submit and put this filter adding the action to cancel it : https://developers.weglot.com/wordpress/helpers-functions-1/weglot_ajax_no_translate
I get you in touch when i’ve find the solution
RegardsHi @webmark487 yes that’s it ;). Don’t hesitate if you need more information
Hi,
I’m Edson from Weglot and I’m sorry the issue you’re facing. It seems we’ve an issue to translate the admin ajax action : https://www.loom.com/share/5f795dd842994cc9990386be51f908c0?sid=8abb7362-2791-4b3f-a289-1a3be9396755
We’ve have 2 solutions :
1- we can disable translation of this action to avoid the issue
2- you can reach the issue to our support to allow me to have access to your website and I’ll make further investigation to fix the issue.
I need an access but we can share it here so you can contact support@weglot.com and mention this thread. I’ll post the answer here when we find it to allow other user have the solutions.
RegardsHi,
Thank you for your message, I’m Edson from Weglot, and I’d be glad to help you
In fact, Weglot does not translate your website instantly when you install the plugin.
Translations are generated and added progressively to your Translation List when someone (visitors, you or search engine such as Google bots) visits your website in the translated language.So that’s why you may not have the same word count for all your different languages.
In order to make sure to generate your translation, you will have to visit all your website pages in all the translated languages.
Otherwise, you can also work with our Manage URLs feature, which can help you generate translations for your website pages.
See the process by following the link below
> How can I manage my URLs and generate the translations?Let me know if you need any further information.
Have a nice day,
Regards,Hi, Thank you for your message,
I’m Edson from Weglot, and I’d be glad to help you If you manually delete your Weglot account, all your current translations will be indeed deleted during the process.
If you’d like to have a back up of your translations, don’t hesitate to reach out to our support team at support@weglot.com so we can try to find a solution :slightly_smiling_face:
Let me know if you need any further information
Have a nice day,
Regards,Hi @webmark487,
hope you’re fine ? Yes but we can easily disable it if you want :add_filter(‘the_content’, ‘display_draft_message’);
function display_draft_message($content) {
global $post;// Check if the post is in draft status if ($post->post_status == 'draft' || $post->post_status == 'private') { add_filter( 'weglot_active_translation_before_process', '__return_false' ); } return $content;}
let me know if it’s help you
RegardsHi @lukaspykas,
do you still facing your issue ?