Andrei
Forum Replies Created
-
Hey there,
Thanks for contacting us about your problem.
Since this looks a lot like a conflict with some other code, the first/next recommended step is the conflict test (ideally in a staging environment):
Briefly disable all other plugins and enable the default Twenty Twenty theme. Please also disable all add-ons. If this fixes the problem, as it probably will, enable everything one by one, checking each time to see when the problem returns.
Please let us know when you find the conflict so that we can take a look and see what we can do about it.
Hey there,
Thanks for reaching out to us!
The TranslatePress trp-ajax.php file might be blocked by a security plugin such as WordFence or host configuration. Try to disable such security plugins or ask your host about this issue.
It’s also possible that your host server configuration doesn’t allow TranslatePress to perform a direct database connection. In this case, install this plugin to switch to a WordPress native approach. The only drawback is that on some large websites it can be a bit slower to translate front-end dynamic texts. https://translatepress.com/download/1151690/
The issue can also be caused by a repeated detection of the same front-end string displayed using JavaScript. In this case you should notice numerous trp-ajax.php calls (20+) in the browser console under Network tab. To solve this, identify the html node that contains that overdetected text and use TP Advanced Settings option Exclude from dynamic translation to input the JS/CSS selector for that node.
Another approach to the same issue would be to install this plugin which reduces the number of allowed detection of the same dynamic string to a lower number: https://translatepress.com/download/1151694/Hello there,
Thanks for reaching out to us!
Would you mind sharing with us a link to your website so we can further inspect this problem?
Hello there,
Thanks for letting us know about this!
I tried looking into this but on our own instances and it seems to be working as intended.
Would you mind going into further detail about this? So if I understand correctly your URL’s are getting translated but inconsistently. Would you mind sharing an example?
Looking forward to your reply.
Hey there,
The way the automatic translation feature works is a simple one. You can check this article to understand better: https://translatepress.com/automatically-translate-wordpress-site/
It will only translate content in one particular language on one particular page the first time someone views that page in that language.
This means that there is no complete scanning and translating the entire site. It’s only done incrementally as the pages are accessed.Try refreshing the page where this specific string appears and it should get re-translated if it is missing translation.
Best Regards,
Hey there,
I tried looking at this on your website but it seems your issue has been solved.
Please do not hesitate to write back to us if you encounter any other problems.
Hello,
Thank you for reaching out!
Based on your description, what you are experiencing is actually the expected behavior of TranslatePress. With the default settings, the main (or default) language doesn’t typically show the language code in the URL directly. However, when changing languages, the code for the selected language is then added. This structure is implemented to keep the URL as clean as possible for your main language users and maintain SEO optimization.
However, we understand that it might be confusing in some cases when using “Use Subdirectory for the default language”. As a potential solution, we recommend adding existing pages to the menu, instead of directly linking to URLs. This method works more fluidly with TranslatePress’s multilingual system, you should have the correct URL for the default language.
Please let us know if this works as expected on your end.
Best regards,
Hey there,
Thanks for reaching out
The translations made with TranslatePress are string-based, so those are saved string by string in your database. In other words, the architecture of these plugins is different, TP saves translations at the string level, while Polylang saves at the post level, making the translations to be incompatible.
If you decide to use our plugin, you will need to translate the content from 0.
Hey there,
Thanks for reaching out!
The feature that you are talking about is only available for the premium version of TranslatePress.
Please reach out to us here to further discuss this topic.
Best Regards,
/** * Deactivate WP Bakery integration with TranslatePress */ add_action ('init', 'trpc_deactivate_wp_bakery_conditional_display_by_language'); function trpc_deactivate_wp_bakery_conditional_display_by_language(){ $trp_wpbakery = TRP_WPBakery::instance(); remove_action('init', [$trp_wpbakery, 'init'], PHP_INT_MAX); }We couldn’t replicate your issue with the latest versions of both plugins. My guess is that you have a WP Bakery element added by plugin other than the default WPBakery or you have a default one that’s configured differently than I could replicate.
Either case, it conflicts with TranslatePress’s code that adds language conditional section for that element. It’s unclear from the error what is the name of the conflicting element. As a workaround, try placing above code in a new plugin. It removes the language conditional section but keeps the rest of functionality for both plugins. If you need language conditional, you can try other methods such as the conditional shortcode.
Hey there,
It seems that this issue should have been fixed in the last version of TranslatePress.
Please try updating and let me know if you still encounter this.
Hey there,
Thanks for reaching out to us!
At the moment our team is aware of this existing problem and they are doing their best to get it sorted out as soon as possible.
Until this is fixed we have a workaround, go to Advanced TP Settings -> Exclude Gettext Strings and add the woocommerce-paypal-payments to domain and make sure to save afterwards.
Hey there,
Thanks for reaching out to us!
What you can try is to exclude the whole domain of the plugin you use for PDF and see if the issue disappears.
To do this, go to Settings->TranslatePress->Advanced tab->Exclude functions and from there you need to find the “Exclude Gettext Strings”.
Once you are there, fill the “Domain” field with the domain name of the plugin you use for PDF,save changes and check again if the issue is still there.
Let me know about this!
Hey there,
Thanks for reaching out to us!
Apologies for not getting back to you any sooner!
At the moment our development team is checking the problem that you are experiencing and we will get back to you as soon as possible.
Thank you for your patience so far!
Hello there,
Thanks for reaching out to us!
Please make sure that the language from Settings->General is the same one with Settings->TranslatePress Default: .
Best Regards,