Forum Replies Created
-
AuthorPosts
-
Rafasashi
KeymasterHello,
Thank you for pointing this out!
3.7.2 should fix that when activating Austrian German / Österreichisches Deutsch
The flag should follow.
Let me know if it works for you.
Rafasashi
KeymasterJust passing the solution you emailed me earlier for the users in the same situation:
.flag.flag-en {
background-position: -256px -143px;
}
Thanks!
October 7, 2022 at 4:44 am in reply to: When switching languages some of the Menu Items disappear #8287Rafasashi
KeymasterI am not excluding the fact that it could be a bug but first let see if the regular behavior of the plugin is applied.
When you switch to a language the menu should show only the items from the same language.
Is the translation url set for the “disappearing items”?
Alternatively your can try to disable this filter by checking the “Disable Menus Query Filter” box in admin panel > Languages > Settings
Let me know if it works for you.
Rafasashi
KeymasterThe plugin follows the core WP language location/pair and point to the national flag.
In some cases (such as UK or US) it might not reflect the identity of the site and this is why I made the flag implementation optional by manually adding it to the CSS.
My suggestion to solve this issue is to tweak the CSS either by modifying the image containing all the flags located or by pointing the CSS rule to another flag.
To use a custom image follow these steps:
1 – Download the flag image located in the plugin at:
language-switcher\assets\images\flags.png
2 – Modify the flag with an image editor
3 – Upload the new flags in your media gallery
4 – Replace manually the url of the old flags by the new flags in the CSS rule
This change will not be affected by future plugin upgrades.
Rafasashi
KeymasterHello,
Thank you for reporting this.
The CSS for the Czech flag is missing in the example.
We will add it but in the meantime you can manually add this into your style:
.flag.flag-cs{ background-position:-16px -33px }
Rafasashi
KeymasterHello there!
The language selections should be prefixed by
<span class="flag flag-{iso}"></span>
allowing you to implement flags via CSS:How to show a country flag in front of the language selection?
Is it answering you question?
Rafasashi
KeymasterHello Martin,
Thank you for reporting this.
The issue was fixed in the version 3.5.0
Could you please try and let me know if it works for you?
February 23, 2022 at 7:44 am in reply to: How to implement a multi-language menu in WordPress with Language Switcher? #8089Rafasashi
KeymasterYou are welcome!
Thank you for your kind words.
Unfortunately the plugin do not yet offer the option to differentiate the language of the individual links in the menu.
I think that the best option would be to use one WP installation per language to be able to customize the respective menus accordingly.
Rafasashi
KeymasterHello David,
Thank you for your feedback.
We are actually working on the search filter.
Regarding your display issue, could you please send us a link or a screenshot?
Kindly
Rafasashi
KeymasterHello Sergey,
In your post you linked to an article that doesn’t exist.
It should end with -ru/ instead of /ru
I also suggest to use the English title in the link (slug) of the English version because it is better for SEO.
-
AuthorPosts