![]() ![]() ![]() For some reason, you didn’t like it? Share me your suggestions in the support forum, and perhaps I will work on it.ĭid you enjoy this plugin? Please take a moment to rate and comment, this will keep me motivated to update this plugin for bugfixes and WordPress upgrades.Now let’s add a simple language switcher to allow each visitor to select her locale. It didn’t work for you? You found a bug? Give me a description with some details in the support forum, and I will fix it as soon as I can. One popular approach is to create a language switcher button or dropdown menu that allows users to select the language they prefer. Note » Next.js will automatically detect the user’s locale from the Accept-Language header and redirect them to the corresponding localized URL.Understand that this is not an attempt at making a plugin for a complete multilingual solution you will find better plugins out there for this.You will find full details, instructions and a demo here: Before you downvote this plugin While still a very viable solution, running WordPress multi language without a plugin can certainly be a pain. Right, so the list of cons is quite sizable. Generates rel=”alternate” hreflang=”x” links for SEO purposes. The simple language switcher in the menu that we described above will link to the homepage of each language version, not any of the subpages/content pieces.Current language detection with regex: avoids displaying a link to the same page in the same language.Interconnect your post in different languages (avoids the user to be redirected to the home page when switching to another language).You can easily customize the display of your language switcher (language ISO codes, language names or flags). When developing multilingual sites with WPML, you might need a custom language switcher.Simple Language Switcher is a simple and lightweight plugin that allows you to display a language switcher on your site. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |