Описание
https://ideasilo.wordpress.com/bogo/
Bogo is a straight-forward multilingual plugin for WordPress.
The core of WordPress itself has the built-in localization capability so you can use the dashboard and theme in one language other than English. Bogo expands this capability to let you easily build a multilingual blog on a single WordPress install.
Here are some technical details for those interested. Bogo plugin assigns one language per post. It plays nice with WordPress – Bogo does not create any additional custom table on your database, unlike some other plugins in this category. This design makes Bogo a solid, reliable and conflict-free multilingual plugin.
Getting started with Bogo
-
Install language packs
First, install language packs for languages you use on the site. You can view and install language packs in the Language Packs screen (Languages > Language Packs).
-
Select your language for admin screen
Bogo lets each logged-in user select a language for their admin screen UI. Select a language from the menu on the Toolbar, or from the menu in the Profile screen (Users > Your Profile) if the Toolbar is invisible.
-
Translate your posts and pages
To create a translation post, go to the editor screen for the original post and find the Language box. Bogo does only make a copy of the post; translating the copied post is your task.
-
Add language switcher widgets
It would be useful for site visitors if you have a language switcher on your site. Bogo provides the Language Switcher widget in the Widgets screen (Appearance > Widgets).
You can also use the
[bogo]
shortcode to put a language switcher inside a post content. If you want to use this shortcode in your theme’s template files, embed the following code into the template:<?php echo do_shortcode( '[bogo]' ); ?>
Privacy notices
With the default configuration, this plugin, in itself, does not:
- track users by stealth;
- write any user personal data to the database;
- send any data to external servers;
- use cookies.
Скриншоты
Блоки
Этот плагин предоставляет 1 блок.
- Language Switcher Language switcher widget by Bogo.
Установка
- Upload the entire
bogo
folder to the/wp-content/plugins/
directory. - Activate the plugin through the Plugins screen (Plugins > Installed Plugins).
Отзывы
Участники и разработчики
«Bogo» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«Bogo» переведён на 15 языков. Благодарим переводчиков за их работу.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
3.8.2
- Fixes a bug that prevents block editor from working correctly on 6.4-6.5 versions of WordPress.
3.8.1
- Language packs: Fixes a bug that blocks language pack deactivation.
3.8
- Language switcher: Updates
apiVersion
to3
in theblock.json
file. - Lets
bogo_http_accept_languages()
always return an array. - Fixes a bug that makes it impossible to have two sticky posts or more.
3.7
- Language switcher: Adds the language suggestion view.
- Improves
bogo_format_atts()
. - Updates the languages list in
bogo_languages()
based on translate.wordpress.org. - Uses a static list to retrieve language native names.
- National flags: Drops famfamfam.com icons in favor of Unicode regional indicator symbols.
- New filter hook:
bogo_get_language
- New filter hook:
bogo_get_language_native_name
- New filter hook:
bogo_get_country_code