Hi,
I am wondering why there is no built in function to filter pages/posts by its language in wp-admin area? It seems very useful and needed ??
Is there any snippet that can do that via functions.php ?
]]>Hi, I have the issue, that when I swith to arabic as language of the content also my wordpress backend and elementor tools are switching to arabic as language. Farsi is working fine with just switching from “left to right” to “right to left”
I use Polylang in a free version, elementor pro and my user language is “German”.
Thank you for helping out.
Best,
Maria
It seems, that since a lot of month the translation of custom taxonomies does not work anymore. I can see the symbol of the language in which I have created a taxonomie and a + for the other language. But the +-Symbol does not work.
Also the field of the second language in the modify-screen is without function.
What happened or what do I wrong?
It would be great, if you could help me.
Kurt
Hi.
After update 2.7.4 the theme strings are not translated anymore. At the backend I can change the strings but the changes are not visible on the second language.
]]>Hello, after plugin update wordpress debug showing error:
PHP Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information.
problem in file mw-polylang-theme-strings.php:
register_uninstall_hook($this->Path_Get(‘plugin_file_index’), array($this, ‘Uninstall’));
]]>Hello,
I just installed the latest version of Polylang. Then I wanted to install this plugin to manage my channels.
Problem: Several errors in the administration and the plugin is unusable.
“Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information.
”
and
“( ! ) Warning: Cannot modify header information – headers already sent by (output started at /home/vagrant/clients/sofico/sofico-website/web/wp/wp-includes/functions.php:4161) in /home/vagrant/xxx/xxx/xxx-website/web/wp/wp-admin/includes/misc.php on line 1126
”
Can you help me ?
Thanks
]]>I have a custom title for the shop – RENT BY CATEGORY
Here is the code I’ m using in functions.php:
<?php
add_filter( 'storefront_product_categories_args', 'custom_storefront_product_categories_title');
// Frontpage Featured Products Title
function custom_storefront_product_categories_title( $args ) {
$args['title'] = __( 'Rent by category', 'storefront' );
return $args;
}
?>
I’ve added the following Polylang code to functions.php to register this string:
<?php
add_action('init', function() {
pll_register_string('storefront', 'Rent by category');
});
?>
I’ve got this string in STRING TRANSLATION section and I’ve translated it. But it changes nothing – RENT BY CATEGORY remains in English.
How should I call this string in the code to get translation?
]]>When plugin is active, admin language on french site is set to english, even if preferred user language and default language set to french.
]]>Hi there, we use your plugin on a variety of sites. I have noticed this error message in version 4.0
Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/html/wp/wp-includes/functions.php on line 4161
Dear Community,
I’m using Polylang to provide EN/FR versions of the website and found out recently that some labels are not translated when switching from FR to EN and back. Using Polylang Theme Strings plugin, I’ve checked all the strings but cannot find the missing one (which seems logical ??).
Therefore I’m wondering if there’s any feature in Polylang Theme Strings to “rescan” the whole site and add the missing translations.
Thanks in advance for any help!
]]>Hey,
how is your plugin actually dealing with line breaks? In this particular case, I noticed line breaks from the woocommerce email footer input setting being stripped away, at least for plain-text emails and the related translation (both in html and plain-text).
I didn’t dig too deep into this right now (looking in the db tables and such) but think that one line text inputs for the translation interface are not quite enough for translating some texts that were entered in textareas that have line-breaks in’em. could be a more difficult task, since entered line-breaks might differ, depending on the users OS.
]]>Hi,
the plugin takes ages to scan the site if you have a GIT repo in your theme. You might want to add support for excluding folder in settings.
Wordpress updated to 4.9.8.
Plugin updated to 4.0.
Now I get this notice on every page : “Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in D:\Websites\iriscaretest\wp-includes\functions.php on line 4161”.
If I comment the line 90 in mw-polylang-theme-strings.php this notice desapears.
I notice that the register_uninstall_hook is modified with the last version.
Old version = register_uninstall_hook($this->Path_Get(‘plugin_file_index’), array(__CLASS__, ‘Uninstall’));
New version = register_uninstall_hook($this->Path_Get(‘plugin_file_index’), array($this, ‘Uninstall’));
Hi,
I am using polylang to translate my website in French,
https://dev.clipcertification.com/fr/commande/
On the checkout page, I have done some customizations, and those strings are displaying in English and they are written in functions file. Eg: ‘Sign up to our newsletter to get great deals, content and savings’ and ‘Have a coupon? Click here to enter your coupon code’
Using this plugin, will the strings in functions.php file be converted into French?
Kindly help.
]]>Hello!
I have followed your guide and the description. I’m using latest wordpress, and FLATSOME child theme. However, when I go to “string translations”, it shows “0 strings detected”.
Am I doing something wrong? Is there a bug?
Thanks
Daniel
I’m about to start using this plugin on a large project – maybe 50 strings per page x 40 pages. Will the sites speed or anything be affected by using this plugin in that way?
Any feedback or infos you can share with me?
Thanks!
]]>Slightly out of scope of this plugin I know, but is there any way to quickly export the strings created for easy translation outside of WordPress?
]]>Hello,
I am using polylang and page Builder and in page i have two different page for to language but i have excreted data with page builder but when language changed the data of page builder doesn’t changes how to do that?
]]>Hi,
I can’t seem to find any other treads, if so please point me in the right direction.
I have a site in danish, and would like to translate it to English. I have translated my frontpage, translated strings, etc. I have added language switcher to my menu. Everything seems to be running. However, when I click the british flag in my menu, I get an 404-error, saying “The requested URL /en/ was not found on this server.”
Can anybody locate what I am doing wrong?
I have a test site which I put up first (www.sokuno.dk/wordpress), with the exactly same setup, and there the translate switcher works perfectly. I have been through all my setting, and the only difference I can locate is a #primary-string missing – which I don’t know how to add.
Any help would be very appreciated.
]]>Hello again,
I had problems only with one jetpack widget, that about subscribing to the blog via e mail. My site is in Italian and in English language. I’ve translated the string in the editor and saved it. But in the pages in english there’s always the Italian version.
Second problem I do not find where I can change the text inside this widget, that one which explains what the subscription is about.
Thank you
Simonetta
If string is deleted from theme, does this plugin automatically delete the same string and it’s translations from database? I don’t want my db to get bloated.
]]>On my template i have this
<?php
global $globaldata;
$var = $globaldata['theme_option_1_text_in_html'];
pll__($var);
?>
ISN’T WORK!
but..
<?php
//the info into $globaldata['theme_option_1_text_in_html'] is "<a href="www.google.com">Google</a>" THEN
pll__('<a href="www.google.com">Google</a>');
?>
yeah!! is work.
WHYYY?
THANKS TO ALL.
]]>Hello,
I have installed the plugin, but, unfortunately it cannot detect any polylang strings. The number is “0” in Strings Translation section of Polylang.
Is my theme not supported by the plugin?
My web site is: sanatabasla.com
And I am using Photorama:
https://creativemarket.com/wpsynergy/26559-Photorama-Photography-WP-Theme
I would be very glad if you could take a look and tell me if I am doing wrong or the theme is not supportive of the plugin.
Thank you very much
]]>I’m translating the site driveline-online.de with a template called Limoking.
I have installed Polylang and Plylang theme Strings; but only 18 strings appears to be translated.
I have revised the theme and it’s properly built; with esc_html__() and identifing limoking for translations.
Anyway, i have changed some of the strings via editor to pll__() and it’s not working.
]]>Hi there. We have been using your plugin for a while now, and it’s really grate. Tons of time saved thanks too your plugin.
I have a suggestion for your plugin there will make it even more awesome. Current I’m working on a project where we use Blade (Laravel) syntax for the frontend. However your plugin unfortunately dosen’t support this. That means we atm are using a fork of your plugin, with a customized preg_match_all
too find anything there looks like {{ }}
in the code.
You can see it right here: https://github.com/BenjaminMedia/wp-polylang-theme-strings/blob/master/mw-polylang-theme-strings.php#L280
Is this something you would consider to support in the future, or should we keep going with a fork of your really good plugin?
Thanks.
]]>I do not care about the Saturn Themes template. how can I do?
]]>If the string is in a file of the theme if it works, however, if it is in a file of another plugin does not work. Thx
]]>Hi,
I am using polylang plugin, I have a website in English and I want to translate it in Greek through this plugin. I created the second language and the menu but the translated strings from strings translations doesn’t appear in Greek whereas I translated. I am using widgets for the homepage and I put two of them of each homepage one for each language waiting for strings translations to work.
Also, why only one flag seems on the homepage?
Can you pleasy help me?
https://www.primecloudconsulting.gr
Thank you in advance,
Anna
]]>Please help.
]]>Not sure how this thing is coded but activating the plugin adds 30s to load time of the admin.
https://www.flowpress.com/screenshots/Screenshot_2017-04-17_11.59.40.png
This should be changed so that the scan happens on button click vs running it all the time.
]]>