With multi-language support enabled, Grav will look for the appropriate language based file, for example default.en.md or .md. If you are uncertain of being sufficiently familiar with this principle, please refer to section Basic Tutorial before proceeding. md file in a folder to represent the page. However, be aware that by default Grav looks for a single. Multi-Language BasicsĪs you should already be familiar with how Grav uses markdown files in folders to define architectural structure as well as setting important page options as well as content, we won't go into those mechanics directly. This will make sure Grav uses the correct language strings in the frontend.Īlso, if the theme supports it, it will add your language code to the HTML tag. Activate the plugin from the Plugins menu within the WordPress admin.Īutomatic updates should work like a charm as always though, ensure you backup your site just in case.Or in the System configuration in the Admin:.Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your WordPress installation’s wp-content/plugins/ directory.Download the plugin file to your computer and unzip it.The manual installation method involves downloading my plugin and uploading it to your webserver via your favourite FTP application. Click yes and WordPress will automatically complete the installation. After clicking that link you will be asked if you’re sure you want to install the plugin. Most importantly of course, you can install it by simply clicking Install Now. Once you’ve found my plugin extension you can view details about it such as the the point release, rating and description. In the search field type “Language Switcher” and click Search Plugins. To do an automatic install of Language Switcher, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New. LANGUAGE EVERYWHERE – Enable language switcher for custom post types and taxonomies such as WooCommerce Product, Order, Category and Tagsįor all documentation on this plugin go to: Īutomatic installation is the easiest option as WordPress handles the file transfers itself and you don’t even need to leave your web browser.COUNTRY FLAGS – Add country flags manually to your Theme Additional CSS or style.css.SWITCHER TITLE – Select from multiple options to customize the switcher title.LANGUAGE MENUS – Add the language switcher to your navigation menus.LANGUAGE SHORTCODE – Add the language switcher anywhere with the shortcode.LANGUAGE WIDGET – Add the language switcher with the widget.LANGUAGE FILTERS – Filter items by language in the main WP_Query of archive pages.MENU LANGUAGE – Add a main language selector to the menu settings and switch the menu accordingly.HREFLANG LINKS – Add hreflang links into the head of each page and improve the SEO.TAXONOMY LANGUAGE – Add a main language selector to terms and map urls of alternative languages.POST TYPE LANGUAGE – Add a main language selector to post types and map urls of alternative languages.MIXED SOURCES – map internal or external urls.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |