Hello everyone,
I tried to update from wp 6.4.3. to 6.5 but got the following errors – can anybody help?
Active theme: Blanco Child - child theme of Blanco (version 0.1) Current plugin: qTranslate (version 2.5.39-fixed) PHP version 7.4.33
Error Details
=============
An error of type E_ERROR was caused in line 455 of the file /home/ch66077/web/meemi.net/public_html/wp-content/plugins/qtranslate/qtranslate_core.php. Error message: Uncaught Error: Object of class WP_Post could not be converted to string in /home/ch66077/web/meemi.net/public_html/wp-content/plugins/qtranslate/qtranslate_core.php:455
Stack trace:
#0 /home/ch66077/web/meemi.net/public_html/wp-content/plugins/qtranslate/qtranslate_core.php(460): qtrans_strftime('1343989875', 1343989875, 1343989875, Object(WP_Post), '')
#1 /home/ch66077/web/meemi.net/public_html/wp-includes/class-wp-hook.php(324): qtrans_dateFromPostForCurrentLanguage(1343989875, 'U', Object(WP_Post))
#2 /home/ch66077/web/meemi.net/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(1343989875, Array)
#3 /home/ch66077/web/meemi.net/public_html/wp-includes/general-template.php(2591): apply_filters('get_the_date', 1343989875, 'U', Object(WP_Post))
#4 /home/ch66077/web/meemi.net/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Tags.php(955): get_the_date('U')
#5 /home/ch66077/web/meemi.net/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Tags.php(597): AIOSEO\Pl
]]>
My woocommerce product slugs doesn’t migrated from WPML
Can i automatticaly generate new slugs for additional languages?
How can i realise slug import from old dump file ?
]]>Hi, I have a e-commerce on woocommerce and have been using the q-translate plugin for multilanguage purposes as my client base is from different countries and therefore I need the multilanguage.
However, the plugin forces the /en (language extension redirect) on the URL causing conflicts with another must have plugin (printful) that I use for dropshipping.
I could only have printful work once i turned q-translate off because the redirect issue (/en) on the URL.
Is there anyway I can have both working?
]]>having issue of the tabs are not switching. So if the english is suppose to be in english when i switch to the spanish tab it is still the english version. Please help.
]]>Hi. How do display language chooser on header? (in php file)
]]>Hey folks,
I hope to find help here. This week I have installed the qTranslate-X plugin and it instantly made my visual editor useless.
No formatting button (bold, center…) works anymore on regular pages or posts.
Text entered in the visual editor is not saved.
I have to enter all text in the “Text” editor to have it saved but formatting is awkward there and I don’t feel comfortable continuing to work with a “broken” website
Yesterday I tried to build a duplicate of my web page without the qTranslate plugin from scratch and when I imported the complete database through the WordPress admin page using the WordPress importer, the new page worked fine.
Then I duplicated the database from the old (corrupted) page and linked the new web page to that and immediately the WYSIWYG editor showed the same behaviour.
Does anyone have an idea which database entry is responsible for that behaviour?
]]>…. so the qTranslate-X works very well, but there is something disturbing, especially for the SEO.
I noticed that in the snippet, title, description, etc. of the search engines and the social appears as [: en] TITLE [: it] Title, etc …
Obviously not a good thing!… How can I avoid this problem?
That is, I would like it appear only one of the titles without qTranslate tags Thank you
hi,
my theme Lawyeria Lite does not reconize the language shortcode ( ex. [:it] or [:en] so is impossible for me translate the homepage content ( title, deafult text , slide … ) .
Is the first time that happens to me…
What can i do ?
Best Regards
Cecilia
]]>Hi,
I see several posts in this forum for changing the header image after I selected an other language. But I still don’t find a solution.
Can someone please help me?
]]>GTranslate::enqueue_scripts
The Constant PLUGINDIR has been deprecated since 2.1.0 but will be defined by WordPress to be backward compat. therefor change the following code:
$wp_plugin_url = trailingslashit( get_bloginfo('wpurl') ).PLUGINDIR.'/'. dirname( plugin_basename(__FILE__) );
wp_enqueue_style('gtranslate-style', $wp_plugin_url.'/gtranslate-style'.$data['flag_size'].'.css');
To:
wp_enqueue_style( 'gtranslate-style', plugins_url('gtranslate-style'.$data['flag_size'].'.css', __FILE__) );
Since WP_CONTENT_URL may be modified in the wp-config… or use WP_PLUGIN_URL
but it’s recommended to use plugins_url().
Run WordPress in debug mode and fix the php strict warnings as of php 5.0.0
Kind regards,
Martijn
Hello,
I am working with this plugin, my default language is Portuguese, and it works fine, until I want to finish the order.
On the resume of the CART in English, the label says: “Your Order”, but the the field are in Portuguese, not in English as it should be.
You can check it here:
https://dev.kalwines.com/
i want to know where i can change side of things when RTL lang is Detected
]]>Hi,
I use qtranslate all pages and it’s very good work at the pages.
But when i use for the posts it’s not working and not show my post. I check the post’s source code not loading artichle, codes, footer, sidebar even </html>
code.
So i deactive qtranslate this time loading artichle, codes, footer, sidebar
I’m using RT-Theme 18
https://www.ads-software.com/plugins/qtranslate/
Click here – https://screenshotuploader.com/s/1507mt4yv
After – https://screenshotuploader.com/s/1507mcguq
And tabs aren`t clicked.. https://screenshotuploader.com/s/1507fr9np
]]>Hi
I have a multilingual WP with 3 languages and it’s working fine for my posts and pages.
Now I have a Footer Widget where I have a link to the “About Us” page.
I want this link to also redirect to the language that is currently active.
Currently I have this for the link:
<a href="/aboutus" />
And if I’m on language 3, it redirects to language 1 (default) after clicking the link.
Is there a way to redirect it correctly?
Thanks!
]]>Hello,
High-Tech Bridge Security Research Lab has discovered security vulnerability in qTranslate 2.5.39 WordPress plugin.
Preview available here: https://www.htbridge.com/advisory/HTB23265
Developers can contact us by email for details: advisory (at) htbridge.com
For any questions related to this notification message – please visit our General Information & Disclosure Policy page: https://www.htbridge.com/advisory/disclosure_policy.html
Best regards,
High-Tech Bridge Security Research Lab
Hello,
Our company recently has a new website. But the url from the language flags in the header at the very top are from the wrong website. Visiters who click on the flag, go to the wrong website. How can I change the url? I already searched in the pluginsettings, but I couldnt find it. The website is https://www.rptechniek.nl.
Thanks already.
Greetings,
Fabian
]]>Hello,
After the last Update, QTRANSLATE produces a Javascript Error that makes other Plugins stop working.
my Debug-Tool says
—
addContentHookByIdName(a)}for(var n=0;n<qTranslateConfig.custom_field_classes.length;++n){var a=qTranslateConfig.custom_field_classes[n];e.addContentHooksByClass(a)}setTinyMceInit()};
“setTinyMceInit” ist undefiniert
Datei: post.php, Zeile: 898, Spalte: 7611
—
Any Idea how to fix it?
thx and kind Regards
Eddy
Hello, I have installed QTRANSLATE and I Like so much, but I have plugin very important too, ” My Calendar ” and qtranslate it′s incompatible with plugin “My Calendar” because tinymce editor is broken with my calendar, only in “my calendar” I can′t add events, no edit, nothing.
Posts and page are working good with tinymce editor, but MY CALENDAR, NO.
I have talked with the developer of MY CALENDAR, ‘ JOE DOLSON ‘ and he told me this error is by QTRANSLATE.
THANKS TO EVERYBODY AND I HOPE CAN REPAIR THIS.
As title. It’s just sad that the plugin not compatible to wp 4.2.2
Is there any plan to work on this to make it compatible?
I use this #qtransLangSw?title=Language&flags=items&names=hidden# in the menu language switcher but I still get “Spr?k” or “LANGUAGE” over the flags.
How can I get rid of it?
cheers/Stephan
]]>How Can I customize widget when using call method of: “the_widget(‘qTranslateXWidget’, $instance, $args)
How to add options to display text, both, flags ect? how to hide title?
Thanks
]]>Hey!
I have added the qtranslate menu widget to the top bar of my page. The menu itself works fine, however I would like the flags to be aligned horizontal. I have found a few solutions to this problem on google but the entries very several years old and did not work for me.
I’ve tried following the explanation given in the widget CSS code but at no prevail.
The code that I tried to change:
.qtranxs_widget ul li
{
display: inline; /* horizontal list, use "list-item" or other appropriate value for vertical list */
list-style-type: none; /* use "initial" or other to enable bullets */
margin: 0 5px 0 0; /* adjust spacing between items */
opacity: 0.5;
-o-transition: 1s ease opacity;
-moz-transition: 1s ease opacity;
-webkit-transition: 1s ease opacity;
transition: 1s ease opacity;
}
I’m not a website or coding genius so maybe the solution is easy and I’ve just missed it. If that’s the case I do apologise ??
]]>My wordpress site in installed in a sub-folder. Let’s call it:
I have qtranslate installed, and several languages installed.
The url’s of the English pages are:
https://www.mysite.com/mypage/
And the corresponding, say, German page is:
https://www.mysite.com/de/mypage/
What I want is for most pages of the site to redirect the user from the “language-version”, say, the German version, of a given page, to the English version.
What I’ve tried is to add a single line to my .htaccess file, before the standard wordpress block. I’ve tried things like the following:
Rewriterule ^(de|fr|zh|ru|ja|es)/(.*)/$ /$1/
But nothing I try works.
Important: the following *does* work:
Rewriterule ^(de|fr|zh|ru|ja|es)/(.*)/$ https://www.anyotherwebsite.com
This makes me think that the problem lies in the right side of my rule.
And the truth is that I probably want it to be a 301 redirect.
I’m wondering if redirects are the way to accomplish my goal. Originally, I was going to do in through menus, by a single line in a .htaccess file seemed far less work. I’m open to suggestions.
]]>Hi
Want to make default logo link change when o am in french languagee page
please help
]]>Hi,
Please tell me how can i add my widget text in french language
My text look like this:-
<div class=”ab”>
<div class=”xz”>
<ul >
</div>
</div>
Hi,
qTranslate not supporting in WordPress version 4.2.2, it’s broken in WordPress version 4.2.2
]]>Is it possible translate contact form when using 2 languages?
Currently i have divi theme.I use their default contact form.
Obviously i can’t translate contact form through WP cpanel.
Any advice is welcome.
Thx in advance …
]]>On this website: https://webicius.com/SCHARC/
I have two problems created by qTranslate:
1) The redirect is not working: while sometimes it works at the first load of the page, going again to the same URL resets the chosen language to English.
2) Even if the appropriate option has been switched on in the settings, it will not show /en at the end of the URL when the homepage language is automatically switched to English.
This is the init in qTranslate:
// detect language and forward if needed
if($q_config[‘detect_browser_language’] && $q_config[‘url_info’][‘redirect’] && !isset($_COOKIE[‘qtrans_cookie_test’]) && $q_config[‘url_info’][‘language’] == $q_config[‘default_language’]) {
$target = false;
$prefered_languages = array();
if(isset($_SERVER[“HTTP_ACCEPT_LANGUAGE”]) && preg_match_all(“#([^;,]+)(;[^,0-9]*([0-9\.]+)[^,]*)?#i”,$_SERVER[“HTTP_ACCEPT_LANGUAGE”], $matches, PREG_SET_ORDER)) {
$priority = 1.0;
foreach($matches as $match) {
if(!isset($match[3])) {
$pr = $priority;
$priority -= 0.001;
} else {
$pr = floatval($match[3]);
}
$prefered_languages[$match[1]] = $pr;
}
arsort($prefered_languages, SORT_NUMERIC);
foreach($prefered_languages as $language => $priority) {
if(strlen($language)>2) $language = substr($language,0,2);
if(qtrans_isEnabled($language)) {
if($q_config[‘hide_default_language’] && $language == $q_config[‘default_language’]) break;
$target = qtrans_convertURL(get_option(‘home’),$language);
break;
}
}
}
$target = apply_filters(“qtranslate_language_detect_redirect”, $target);
if($target !== false) {
wp_redirect($target);
exit();
}
}
And this is the PHP action I tried to solve the issue with, without success:
// detect language and forward if needed
if($q_config[‘detect_browser_language’] && $q_config[‘url_info’][‘redirect’] && !isset($_COOKIE[‘qtrans_cookie_test’]) && $q_config[‘url_info’][‘language’] == $q_config[‘default_language’]) {
$target = false;
$prefered_languages = array();
if(isset($_SERVER[“HTTP_ACCEPT_LANGUAGE”]) && preg_match_all(“#([^;,]+)(;[^,0-9]*([0-9\.]+)[^,]*)?#i”,$_SERVER[“HTTP_ACCEPT_LANGUAGE”], $matches, PREG_SET_ORDER)) {
$priority = 1.0;
foreach($matches as $match) {
if(!isset($match[3])) {
$pr = $priority;
$priority -= 0.001;
} else {
$pr = floatval($match[3]);
}
$prefered_languages[$match[1]] = $pr;
}
arsort($prefered_languages, SORT_NUMERIC);
foreach($prefered_languages as $language => $priority) {
if(strlen($language)>2) $language = substr($language,0,2);
if(qtrans_isEnabled($language)) {
if($q_config[‘hide_default_language’] && $language == $q_config[‘default_language’]) break;
$target = qtrans_convertURL(get_option(‘home’),$language);
break;
}
}
}
$target = apply_filters(“qtranslate_language_detect_redirect”, $target);
if($target !== false) {
wp_redirect($target);
exit();
}
}
Do you have any idea why this may not be working?
]]>Hi,
I have a problem with the forms fields. I have multiple pages in different languages and when I changed the page all fields form are in english. How can I translate the fields for each page language (PT, FR, EN, DE)?
Thank you very much.
The links are:
https://landings.intercoined.com/fr/test-plantilla-d-3/
https://landings.intercoined.com/de/test-plantilla-d-3/
https://landings.intercoined.com/en/test-plantilla-d-3/
https://landings.intercoined.com/pt/test-plantilla-d-3/