![]() ![]() ![]() Once you install it, you can add the following line to the Logic field in each widget: If you wish to display different widgets for each language and you’re using WPML, we recommend you use the Widget Logic plugin to do so. Displaying Different Widgets For Each Language Once you’re done translating them, simply upload the /languages folder into your WordPress installation and you’ll be done. MO file is the one that will be used by the theme to display your translated texts. Once you’re done, simply save your progress. You can then translate the theme to each language by going through the list of texts and manually translating each one. To translate them, you need to download the PoEdit utility and open the files with it. In the case of the United States, the code is EN_US since the language itself is English, but the territory corresponds to the United States themselves. The naming must be in the form of LANGUAGE_TERRITORY, where each code corresponds to the following standards:įor instance, the filename for the German language should be de_DE.PO, the French one should be fr_FR.PO, and so on. If you wish to translate the theme to another language, you need to create copies of the en_US.PO file and name them accordingly. PO files that let you translate all the small bits of text included in the theme.They are located in the /languages folder, including a Spanish translation by default. Translating The ThemeĪll themes come with. This menu will allow you to navigate between each language, effectively letting you set different option schemes for each language. Likewise, when WPML is active, the Theme Options page will incorporate a small navigation menu on the top right area. The switcher will display all selected languages, and the layout may vary from theme to theme. This switcher is meant to provide an instant, no-fuss language switcher in an accessible area without having to use the one WPML provides. The latest premium themes (from Brilliance onwards) come with an embedded language switcher in the header, which appears once WPML is active. Instead, the themes are prepared to provide the following features once it has been installed and activated. Our themes fully integrate with WPML, and provide full support for multilingual sites, so that every bit of your site can be fully translated. Keep in mind that the plugin itself does not come bundled with our themes. This plugin will add a number of options to let you translate all elements of your site: from posts and pages to taxonomies, widgets, and menus. WPML is the most powerful plugin for translating your WordPress installation into other languages, adding multilingual functionality across the board. ![]()
0 Comments
Leave a Reply. |