hey, your plugin make duplicate url! how to fix this!
Could you please add a way to disable the “SPECIAL GIFT to all users of Language Switcher for Transposh!” message?
Thanks
]]>Hello.
Due to a series of personal problems, I made some mistakes in the last versions of the plugin. I apologize for these mistakes and I hope you can forgive me.
Now, it looks like the users who have installed version 1.5.7 are asked to give a license key. In addition, they can’t receive automatic updates.
Unfortunately, the only way to solve this problem is
I am very sorry about all this and I apologize again for any problems it may have caused.
]]>I don’t give any link, you have the same problem on your website…
]]>I found your contact in www.ads-software.com.
On my sites I always install your automatic translator Transposh which in my opinion is the best online.
But I also consider the DIVI builder optimal for designing sites in WordPress.
I’ve been using it for about two months and today I discovered an incompatibility with wordpress search layout customization. Can you please understand why there is this problem?
Thanks and best regards
Daniel Frati
A suggestion for obtain better accesibility … in cfx_Language_Switcher_For_Transposh-public.php file, line 605 and add 606
$lang_name = $this->options['original_lang_names'] === 'on' ? ucfirst( transposh_consts::get_language_orig_name( $lang ) ) : ucfirst( transposh_consts::get_language_name( $lang ) );
$items .= '<li class="' . $menu_classes . ' menu-item switch_lang no_translate"><a class="menu-link" href="' . $target . '"><img alt="' . $lang_name . '" src="' . $this->flag_path . '/' . $flag_name . '.png" /></a></li>';
… add ‘alt’ attribute with language name.
Thanks for your contribution!!
]]>Hello Marco,
I’m currently having a problem with an unexplainable redirect loop on several of my translated pages. Ofer is currently at a loss as to what is causing them. I’m using your plugin to switch languages and, as you say in the documentation, it requires that the search-engine-friendly link rewriting setting be activated in Transposh for your selector flags to create a correct URL.
When I turn off search-engine-friendly link rewrites, the problem pages display correctly.
While I would like Ofer to find the solution, until he does, it might be nice if this piece of code in your plugin could be modified to allow “ugly URLs” for translated pages with query parameters instead of /en/ format URLs. Any possibility of that?
Thanks!
public function get_target_page($lang)
{
$site_url = get_site_url();
$current_page = parse_url($_SERVER['REQUEST_URI']);
if ($this->options['redirect_to_home'] === 'on') {
$target = $site_url . '/' . $lang;
if ($this->default_lang === $lang) {
$target = $site_url;
}
} else {
if ($this->get_current_lang() === $this->default_lang) {
$slug = $current_page['path'];
} else {
$slug = substr($current_page['path'], 3);
}
if ($this->default_lang !== $lang) {
$target = $site_url . '/' . $lang . $slug;
} else {
$target = $site_url . $slug;
}
}
]]>
Hello,
any ideea if it’s posible to translate the menu items?
I try to edit the translation. it’s posible for all the text but for menu item it’s not posible!
many regards
]]>Does it create url rewrite?
can I create saperate sitemap for saperate languages and indexed by google?
I have tried that “Language Switcher for Transposh” in combination with the page builder “Elementor” but it does not show. I mean in a custom header with Elementor widgets.
I am currently working with localhost website as test platform so cannot share online URL of the website.
I use free Astra theme with the Elementor Header & Footer Builder by Brainstorm Force, and I can’t find any Elementor widget to set this “Language Switcher for Transposh”. There is a standard Transposh widget but not to support this “Language Switcher for Transposh”.
Are there people who have it working in combination with Elementor?
Thanks in advance.
I try to activate this plugin and ? get this error;
Warning: require_once(/home/diamond2/public_html/wp-content/plugins/language-switcher-for-transposh/public/../../transposh-translation-filter-for-wordpress/core/utils.php): failed to open stream: No such file or directory in /home/diamond2/public_html/wp-content/plugins/language-switcher-for-transposh/public/class-cfx-language-switcher-for-transposh-public.php on line 12
Fatal error: require_once(): Failed opening required '/home/diamond2/public_html/wp-content/plugins/language-switcher-for-transposh/public/../../transposh-translation-filter-for-wordpress/core/utils.php' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home/diamond2/public_html/wp-content/plugins/language-switcher-for-transposh/public/class-cfx-language-switcher-for-transposh-public.php on line 12
How can ? activated?
Thanks.
]]>Stupid question… where are all the settings that are described in the plugin description? I don’t see any new menu or anything, so I have no idea how to place your language switcher on my site.
]]>