Quantcast
Channel: polylang – WordPress.org Forums
Viewing all 11471 articles
Browse latest View live

Tigr on "[Plugin: Polylang] Lost settings when moving"

$
0
0

Hi! Sorry for the delays...

The option and taxonomies are there:

mysql> select * from t_options where option_name="polylang";
| option_id | option_name | option_value | autoload |
|       199 | polylang    | a:14:{s:7:"browser";i:1;s:7:"rewrite";i:1;s:12:"hide_default";i:0;s:10:"force_lang";i:0;s:13:"redirect_lang";i:0;s:13:"media_support";i:0;s:4:"sync";a:0:{}s:10:"post_types";a:0:{}s:10:"taxonomies";a:0:{}s:7:"domains";a:1:{s:2:"ru";s:0:"";}s:7:"version";s:5:"1.4.1";s:12:"default_lang";s:2:"en";s:7:"widgets";a:6:{s:10:"polylang-2";s:1:"0";s:10:"nav_menu-2";s:2:"en";s:10:"nav_menu-3";s:2:"ru";s:6:"text-2";s:2:"en";s:6:"text-3";s:2:"ru";s:8:"search-2";s:1:"0";}s:9:"nav_menus";a:1:{s:13:"publish-tigra";a:1:{s:7:"primary";a:2:{s:2:"en";i:531;s:2:"ru";i:532;}}}} | yes      |

mysql> select term_taxonomy_id,term_id,taxonomy,parent,description,count from t_term_taxonomy where taxonomy="language";
+------------------+---------+----------+--------+---------------------------------------------------+-------+
| term_taxonomy_id | term_id | taxonomy | parent | description                                       | count |
+------------------+---------+----------+--------+---------------------------------------------------+-------+
|                2 |       2 | language |      0 | a:2:{s:6:"locale";s:5:"en_US";s:3:"rtl";s:1:"0";} |   165 |
|                4 |       4 | language |      0 | a:2:{s:6:"locale";s:5:"ru_RU";s:3:"rtl";s:1:"0";} |    94 |
+------------------+---------+----------+--------+---------------------------------------------------+-------+

So the data seems to be there but the site behaves like if polylang was not configured. The polylang settings page also shows an empty list of languages. Any ideas? Could names of the tables be stored somewhere (table prefix has been changed)?

Tigr


Chouby on "[Plugin: Polylang] Lost settings when moving"

$
0
0

Polylang now caches some data in a transient. Maybe it's what interferes.
Try deleting the '_transient_pll_languages_list' entry in wp_options

Jamesdesauvage on "[Plugin: Polylang] Flag not showing"

Chouby on "[Plugin: Polylang] Flag not showing"

$
0
0

I am aware that some themes use a custom walker for their menu and the theme author may not have thought that users might want to add pictures in menu items. It seems that your theme is not compatible with pictures in menu items. Maybe the theme author may help you.

ARZCDR on "[Plugin: Polylang] Footer template not included in secondary languages"

$
0
0

Hello,

I'm using Polylang on a website that unfortunately I can't link to, but I just noticed that the footer template (footer.php) is not being loaded in the secondary languages, it only loads in my default language.

I realized the issue because some custom javascript (using wp_enqueue_script) as well as the stylesheet and javascript of another plugin (Tiled Galleries) which were set up to appear on the footer, were not loading on the secondary languages.

I tested this by modifying the footer.php template adding some <h1> elements and indeed those only appeared for the default language.

Anyone know what might be the issue?

Thanks in advance for any help!

https://wordpress.org/plugins/polylang/

Razique on "[Plugin: WPFront Notification Bar] Compatibility with Polylang"

$
0
0

Hi,
I'm using this plugin, it's fantastic!

is it possible to update it to have multiple text/url/button text for multilingual websites?
I have a french and english version of my website, and I need to have per domain a different message, a different call to action text and different url?
The only "dirty" hack I found so far is to change "notification-bar.php"

and use something like this for instance to display the right message:
<?php pll_e('message'); ?>

Is there a way to "override" these fields so I don't touch the plugin core?

thanks!

https://wordpress.org/plugins/wpfront-notification-bar/

drago239 on "[Plugin: Options Framework] Categories by language"

$
0
0

Is it possible to display categories, pages and posts by language in select dropdown? I would like to display only categories, pages and posts by language in select options.

I'm using Polylang for multilanguage and tried pll_get_term and pll_get_post and I couldn't display it by language on theme option page.

And I'm using starter theme by Underscores.

https://wordpress.org/plugins/options-framework/

guillaumems on "[Plugin: Polylang] Homepage www redirection not working"

$
0
0

Hi,

I have encountered the following issue on 3 or 4 different sites now: if I leave the 'The front page url contains the language code instead of the page name or page id' box unchecked, redirection from www to non-www pages work, except for homepage (in all languages). In other words:

  • www.example.com/products DOES redirect to example.com/products
  • www.example.com/home DOES NOT redirect to example.com/home

This creates issues in terms of SEO regarding duplicate content, at least for the home page, and somehow prevents fonts from loading correctly when using the @font-family technique.

However, if I do check the 'The front page url contains the language code instead of the page name or page id' box, redirection from www to non-www home page works. In other words:

  • www.example.com/products DOES redirect to example.com/products
  • www.example.com/en DOES redirect to example.com/en

This partly solves the problem, as the redirection now works, yet it forces me to use the language slug in the home page URL for languages other than the default one.

I don't know whether it's really an issue with the plugin and/or its settings, or if it can be easily solved by adding a few lines to the .htaccess files, but I'd sure like to know if there's a solution out there.

Thanks!

==========

Site: pvcregional.ca
In order to prevent issue, I have applied the aforementioned modifications to my Polylang settings, so issue is not live.

WP 3.7.1
Polylang 1.4.1
Permalinks -> Post Name

Polylang settings:
-> Languages: Français (default), English
-> Language is set from content
-> Hide URL language information for default language
-> Remove /language/ in pretty permalinks

WordPress settings:
-> I am using a static home page

Other items of interest:
-> .htaccess file is WordPress default. Tried to force redirection of homepage with 301 redirects to no avail.

https://wordpress.org/plugins/polylang/


Tigr on "[Plugin: Polylang] Lost settings when moving"

$
0
0

Yes, ok, that helps but only for a single page load. As soon as wordpress is called, that transient is back in the table and polylang is broken again.

mysql> select * from t_options where option_name="_transient_pll_languages_list";
| option_id | option_name | option_value | autoload |
|      3748 | _transient_pll_languages_list | a:2:{i:0;O:12:"PLL_Language":17:{s:7:"term_id";i:2;s:4:"name";s:7:"English";s:4:"slug";s:2:"en";s:10:"term_group";s:2:"10";s:16:"term_taxonomy_id";i:2;s:8:"taxonomy";s:8:"language";s:11:"description";s:5:"en_US";s:6:"parent";s:1:"0";s:5:"count";i:165;s:10:"tl_term_id";i:3;s:19:"tl_term_taxonomy_id";i:3;s:8:"tl_count";i:504;s:6:"locale";R:9;s:6:"is_rtl";s:1:"0";s:5:"mo_id";s:1:"6";s:10:"search_url";s:21:"https://127.0.0.5/en/";s:8:"home_url";s:21:"https://127.0.0.5/en/";}i:1;O:12:"PLL_Language":17:{s:7:"term_id";i:4;s:4:"name";s:14:"Русский";s:4:"slug";s:2:"ru";s:10:"term_group";s:2:"20";s:16:"term_taxonomy_id";i:4;s:8:"taxonomy";s:8:"language";s:11:"description";s:5:"ru_RU";s:6:"parent";s:1:"0";s:5:"count";i:94;s:10:"tl_term_id";i:5;s:19:"tl_term_taxonomy_id";i:5;s:8:"tl_count";i:116;s:6:"locale";R:26;s:6:"is_rtl";s:1:"0";s:5:"mo_id";s:1:"7";s:10:"search_url";s:21:"https://127.0.0.5/ru/";s:8:"home_url";s:21:"https://127.0.0.5/ru/";}}        | yes      |

geomagas on "[Plugin: Polylang] catagory page not found"

$
0
0

Same problem here, dev version solved it.
Great support for a great plugin.
Keep it up! :)

guillermovargasquisoboni on "[Plugin: Polylang] A Left Top Language Switcher on Twenty Fourteen"

$
0
0

Hi Chouby,

I want to put the language switcher at the left top of my site. I done this one year ago with the instructions described here.

But header.php in twenty fourteen is very different...

How can I do this?

https://wordpress.org/plugins/polylang/

Kristijan Korman on "Using Polylang with WCK - Custom fields plugin"

$
0
0

Site i am working on has many custom fields created with this great plugin WCK (link below). Now that site has to be translated into another language. I decided to use Polylang because it's free and i already worked with it before, but not with WCK custom fields plugin.

When i click on + for adding new language page and click publish i encountered a problem. Let's say i have:

Page (default language)
Page (new language)

Custom fields are filled on the default language page before installing Polylang. After installing Polylang plugin i clicked + and wanted to add new language for that page and to my surprise custom fields on new language were also filled with values from default language. If i add something in the custom field in one language it is visible in another language. If i delete something on one language - the same thing, it is deleted on both.

I am working on this for last few days and can't figure it out.

Does anyone know what setting for Polylang should i use for this to work?

WCK: http://wordpress.org/plugins/wck-custom-fields-and-custom-post-types-creator/

https://wordpress.org/plugins/polylang/

mariajcrgomes on "[Plugin: Polylang] How can I translate my Front Page"

$
0
0

Hi,

I'm using Polylang to translate my website to another language. I have everything done... pages, posts, menus. But I can't find a way to translate the front page.

I'm using the theme Arcade.

https://wordpress.org/plugins/polylang/

ronshe on "Polylang shortcode (like qTranslate) for theme options and text"

$
0
0

Of course that PHP will work, but I do not want to change the purchased theme. If I will, my client will not be able to update it.

NogNeetMachinaal on "[Plugin: Polylang] catagory page not found"

$
0
0

Same here - great!

Thanks - Will


Chouby on "Polylang shortcode (like qTranslate) for theme options and text"

$
0
0

I did not meant hacking the theme. It is generally possible to use available filters.

Chouby on "Using Polylang with WCK - Custom fields plugin"

$
0
0

Try de-activating the custom fields synchronization in Polylang settings

Chouby on "[Plugin: Polylang] Homepage www redirection not working"

Jamesdesauvage on "[Plugin: Polylang] Flag not showing"

$
0
0

ok thanks i shall contact theme author !

Chouby on "[Plugin: Polylang] Lost settings when moving"

$
0
0

That's expected that the transient is built again if you delete it.

Everything looks ok in the data stored. So Polylang should now build the languages list from this data and should be able to display it in the languages table. I don't understand how something could interfere.

Maybe yo can try the debug mode to check if there are any errors.

Yo can replace

define('WP_DEBUG', false);

by

define('WP_DEBUG', true);
define('SCRIPT_DEBUG', true);
define('WP_DEBUG_LOG', true);
ini_set('display_errors','Off');

in wp-config.php
This will log errors to wp-content/debug.log if there are any.

Viewing all 11471 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>