I can’t add media when editing a post

I can’t add media when editing a post

Case 1: You activated the languages and translations for the media.
When editing a post, only the media in the same language as the post you are editing are visible in the media library. You must translate your media in the post’s language.
Case 2: You deactivated the languages and translations for the media.
If you previously uploaded media while the language and translation for media was active, they will keep their language and won’t be visible in other languages.
Thus, as explained in the media documentation, it is not recommended to change the media setting once you started to work with media.

I can’t update the plugin

I can’t update the plugin

If your license key is not activated on your website, you will see that the update is available but you won’t be able to update the plugin. You may receive an error message such as:
Update Failed: Download failed. Unauthorized
Check that your license is still valid and that it is associated to the correct website. You can do that in your account > License keys > Manage sites.
Note that if you activated the licence key on a development site and moved it later to the production site, our server is not informed of the move and thus, although the license key may appear to be valid in your dashboard, it is still activated on your development site. You can avoid this issue by deactivating the license key on the development site, and then activating it on the production site.

My flags are not displayed on mobile devices

My flags are not displayed on mobile devices

Some themes don’t use the orignal menu walker provided by WordPress but a custom menu walker to display navigation menus. It is quite frequent that theme developpers forget that plugins can add images in menu items and thus create custom walkers which do not interpret the html code used by Polylang to display flags.
A quick fix is to replace the flags by the language names in the language switcher options. After that, please ask to your theme support how to solve this.

The title attribute displays the html code of the flag

The title attribute displays the html code of the flag

Polylang intentionally keeps the title attribute empty for the language switcher. As this field is empty some themes copy the navigation label in this attribute. It’s a bad practice as it doesn’t add any useful information and the title can contains only text whereas the navigation label can include images.
Of course, the default WordPress Twenty themes haven’t such issue. Please ask to your theme support how to solve this. A quick fix is to remove the flags in the language switcher options.

My flags are misaligned in the Twenty Eleven menu

My flags are misaligned in the Twenty Eleven menu

If you are using the flags provided with Polylang, just add the following css rule to the style.css file:
123#access img {    display: inline;}
It is much better to create a child theme to avoid loosing your modification when updating the theme.

How to display the widget flags horizontally?

How to display the widget flags horizontally?

The appearance of your site is controlled by CSS rules placed in the file style.css in your theme directory. The appearance of the language switcher is controlled by the classes “lang-item” for all languages and “current-lang-item” for the current language.
So you can add the following lines in style.css
123.lang-item {  display: inline;}
The topic was also discussed on the support forum: Flags vs. Text Links in widget

The language switcher doesn’t appear on frontend

The language switcher doesn’t appear on frontend

To avoid 404 errors, Polylang does not display a language if there is no published content (post or page) in that language. If there is no content in any language, then the language switcher does not appear at all.

Can I display a language switcher without the widget?

Can I display a language switcher without the widget?

It is possible to get a language switcher where you want in your theme without using the widget. For this, you can use  the following template tag in your theme:
1

    See the documentation for theme and plugin programmers for more information about the function parameters.