Описание
Polylang полностью интегрирован в WordPress и использует только его встроенные основные функции (таксономии), позволяет поддерживать постоянную производительность вашего сайта и создавать многоязычные сайты, включающие от одного дополнительного языка до 10 и более в зависимости от ваших потребностей. Количество добавляемых языков не ограничено, а языковые пакеты WordPress автоматически загружаются по мере готовности.
Возможности
В зависимости от типа сайта, который создали или планируете создать, комбинация плагинов из приведенного ниже списка может представлять интерес.
Все плагины содержат мастер настройки, позволяющий установить их всего за несколько щелчков мышью.
Polylang
Polylang and Polylang Pro share the same core providing features such as:
- Translating posts, pages, media, categories, post tags, custom post types and taxonomies, RSS feeds; RTL scripts are supported.
- The language is either set by the language code in URL, or you can use a different sub-domain or domain per language.
- Automatic copy of categories, post tags and other metas when creating a new post or page translation.
- Translating menus and widgets.
- Customizable language switcher available as a widget or a navigation menu item.
- Compatibility with Yoast SEO.
Polylang Pro
Helps optimizing the time spent translating your site with some very useful extra features such as:
- Better integration in the new Block Editor.
- Language switcher available as a block.
- Language options available in the widget block editor.
- Template parts translatable in the site editor (FSE).
- Duplicate and/or synchronize content across post translations.
- Improved compatibility with other plugins such as ACF Pro.
- Share the same URL slug for posts or terms across languages.
- Translate URL slugs for categories, author bases, custom post types and more…
- Export and import of content in XLIFF format for outsourced professional translation.
- Access to a Premium Support for personalized assistance.
Polylang for WooCommerce
Add-on for the compatibility with WooCommerce which provides features such as:
- Translating WooCommerce pages (shop, check-out, cart, my account), product categories and global attribute terms directly in the WooCommerce interface.
- Translating WooCommerce e-mails and sending them to customers in their language.
- Products metadata synchronization.
- Compatibility with the native WooCommerce CSV import & export tool.
- Compatibility with popular plugins such as WooCommerce Subscriptions, Product Bundles, WooCommerce Bookings, Shipment tracking and more.
- Ability to use the WooCommerce REST API (available with Polylang Pro).
- Access to a Premium Support for personalized assistance.
Neither of them will allow to do automated translation.
Our other free plugins
- WPML to Polylang allows migrating from WPML to Polylang.
- DynaMo speeds up the translation of WordPress for all non-English sites.
- Site Editor Classic Features allows to use legacy widgets (including the Polylang language switcher) and menus in the site editor (FSE).
Благодарности
Большое спасибо всем переводчикам, которые помогают переводить Polylang.
Большое спасибо Алексу Лопесу за дизайн логотипа.
Большинство флагов, включенных в Polylang, пришли из famfamfam и являются общественным достоянием.
Везде, где использовался сторонний код, в комментариях к коду были указаны ссылки.
Скриншоты
Установка
- Убедитесь, что используете WordPress 5.8 или более позднюю и что на сервере установлен PHP 5.6 или более поздней версии (то же требование, что и для WordPress).
- Если вы пробовали другие многоязычные плагины, отключите их перед активацией Polylang, в противном случае, вы можете получить неожиданные результаты!
- Установите и активируйте плагин, как обычно, из раздела Плагины в WordPress.
- The setup wizard is automatically launched to help you get started more easily with Polylang by configuring the main features.
Часто задаваемые вопросы
-
Где найти помощь?
-
- Начинающим пользователям следует прочитать Polylang — начало работы, где объясняются основы и приводится множество скриншотов.
- Прочитайте документацию. В ней содержатся ответы на частые вопросы и документация для разработчиков.
- Поищите на форуме поддержки сообщества. Вероятно, найдете здесь ответы.
- Читайте закреплённые записи на форуме поддержки сообщества.
- Если у вас всё ещё есть проблема, откройте новую тему на форуме поддержки сообщества.
- Polylang Pro and Polylang for WooCommerce users have access to our premium support through helpdesk.
-
Совместим ли Polylang с WooCommerce?
-
- You need Polylang for WooCommerce, premium addon described above, which will make both plugins work together.
Отзывы
Участники и разработчики
«Polylang» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«Polylang» переведён на 48 языков. Благодарим переводчиков за их работу.
Перевести «Polylang» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
3.4.2 (2023-05-30)
- Fix empty languages displayed when Falang data are remaining in the database #1286
- Fix PHP warning on term_props #1288
- Fix blog page displayed in the customizer instead of the static front page when changing a setting #1289
3.4.1 (2023-05-25)
- Fix incorrect site titles in My Site admin bar menu on multisites #1284
- Fix incorrect home url when using multiple domains or subdomain and a static front page #1285
3.4 (2023-05-23)
- Requires WP 5.8 as minimum version
- Pro: Language fallbacks are now stored in language description instead of a term meta.
- Pro: Add more error messages when doing wrong when importing or exporting translations
- Pro: Avoid to check for translations files existence if no language fallbacks are defined.
- Pro: Reduce the number of DB queries when exporting posts for translation
- Pro: Fix incorrect post slug after XLIFF import
- Pro: Fix a performance issue with the autocomplete field in the block editor languages panel
- Pro: Fix translations not refreshed when switching the language in the block editor sidebar
- Pro: Fix a performance issue in Site editor
- Pro: Fix a possible bug in Site editor when language term_id and term_taxonomy_id are different
- Pro: Fix deactivated language re-activated when it is edited.
- Pro: Fix language switcher in legacy widget menu not correctly rendered in widget block editor
- Pro: Fix error 404 for untranslated attached attachement
- Pro: Fix a deprecated notice in ACF integration
- Pro: Fix update compatibility with WP Umbrella
- Refactor core to allow to easily translate contents stored in custom tables
- Strings translations are now stored in a language term meta instead of post meta of specific post type #1209
- Deprecate the filters
pll_languages_list
andpll_after_languages_cache
#1210 - Add a new property
PLL_Language::$is_default
#1228 - Add a custom admin body class
pll-lang-{$language_code}
#1190 - Add support for new WPML API filters #1266
- Fix languages metabox autocomplete field not always returning expected results #1187
- Fix language not displayed if the transient has been saved with an empty array #1247
- Fix a PHP warning
Attempt to read property "home_url" on bool
#1206 - Fix a conflict leading to a performance issue when translating the theme Astra options #1196
- Fix related translations resetted when updating Yoast SEO titles settings #1111
- Fix a fatal error in case the registered strings option is corrupted #1264
- Fix the language extraction from the URL in plain permalinks #1270
- Fix content cleared when switching the language of a new post in the block editor #1272
- Fix: Prevent saving strings translations with an empty source #1273
3.3.3 (2023-04-11)
- Pro: Adapt the submenu colors of the navigation language switcher block to WP 6.2
- Pro: Fix the dropdown setting in the navigation language switcher block
- Add Amharic, Aragonese and Spanish from Dominican Republic to the list of predefined languages #1248
- Fix a deprecated notice in WP 6.2 when using multiple domains without the Internationalization PHP extension (intl) #1245
3.3.2 (2023-03-06)
- Pro: Add compatibility with FSE changes introduced by WP 6.2
- Pro: Adapt the navigation language switcher block for consistency with WP 6.2
- Only store term ids in taxonomy relationships cache for WP 6.0+. Props @ocean90 #1154
- Remove usage of
get_page_by_title()
deprecated in WP 6.2 #1213 - Fix fatal error if the mu-plugins folder is not readable #1217
- Fix a compatibility issue with plugins not expecting a null ‘update_plugins’ transient #1224
3.3.1 (2023-01-09)
- Pro: Allow to translate Oembed, URL and Email ACF fields
- Pro: Fix ACF REST API mixing fields
- Pro: Fix ACF compatibility loaded when no language exist
- Pro: Fix headers of exported PO files.
- Pro: Fix spacing in language switcher navigation block preview
- Work around a bug in Sendinblue for WooCommerce causing a fatal error. #1156
- Fix a regression with WooCommerce Product Add-Ons Ultimate. #1186
3.3 (2022-11-28)
- Requires WP 5.7 as minimum version
- Pro: Allow to export and import XLIFF files for posts
- Pro: Honor the provided context for the navigation language switcher block.
- Pro: Remove the parent hyperlink in the navigation language switcher block.
- Pro: Add spacing between flag and name in the navigation language switcher block.
- Pro: Disallow some special characters in translated slugs to avoid 404 errors.
- Pro: Fix string translation not imported when the original is registered but has never been saved in database.
- Pro: Fix string translation not imported when it includes an html entity.
- Pro: Fix navigation language switcher block rendering in block editor.
- Pro: Fix navigation language switcher may be displayed wrong color.
- Translate the post pages in get_post_type_archive_link() on admin side too. #1000
- Enable the block editor in page for posts translations to match the WordPress behavior since version 5.8 #1002
- Improve the site health report #1062 #1076
- Set the current language when saving a post #1065
- The search block is now filtered by language #1081
- Display slug of CPT and taxonomies in Custom post types and Taxonomies settings. Props @nicomollet #1112
- Add support for wpml-config.xml to MU plugins #1140 Props Jeremy Simkins
- Fix some deprecated notices fired by PHP 8.1 #975
- Fix some missing canonical redirect taxonomies #1074
- Fix redirect when permalink structure has no trailing slash #1080
- Fix language switcher in legacy navigation menu widget not rendered in widgets block editor #1083
- Fix language in tax query when an OR relation is used #1098
- Fix parent of translated category removed when assigning an untranslated parent #1105
- Fix is_front_page() when a static front page is not translated #1123
- Yoast SEO: Fix posts without language displayed in the sitemap #1103
- Yoast SEO: Avoid syncing robots meta. #1118
Смотрите информацию о более древних изменениях в changelog.txt