Polylang

Beskrivning

Funktioner

Polylang allows you to create a bilingual or multilingual WordPress site. You write posts, pages and create categories and post tags as usual, and then define the language for each of them. The translation of a post, whether it is in the default language or not, is optional.

  • You can use as many languages as you want. RTL language scripts are supported. WordPress languages packs are automatically downloaded and updated.
  • You can translate posts, pages, media, categories, post tags, menus, widgets…
  • Anpassade inläggstyper, anpassade taxonomier, klistrade inlägg och inläggsformat, RSS-flöden och alla standardwidgetar i WordPress stöds.
  • Språket ställs antingen in av innehållet eller av språkkoden i URL:en, eller så kan du använda en annan underdomän eller domän per språk
  • Categories, post tags as well as some other metas are automatically copied when adding a new post or page translation
  • A customizable language switcher is provided as a widget or in the nav menu

The author does not provide support on the wordpress.org forum. Support and extra features are available to Polylang Pro users.

If you wish to migrate from WPML, you can use the plugin WPML to Polylang

If you wish to use a professional or automatic translation service, you can install Lingotek Translation, as an addon of Polylang. Lingotek offers a complete translation management system which provides services such as translation memory or semi-automated translation processes (e.g. machine translation > human translation > legal review).

Erkännanden

Thanks a lot to all translators who help translating Polylang.
Thanks a lot to Alex Lopez for the design of the logo.
Most of the flags included with Polylang are coming from famfamfam and are public domain.
Wherever third party code has been used, credit has been given in the code’s comments.

Gillar du Polylang?

Tveka inte att ge feedback.

Skärmdumpar

  • The Polylang languages admin panel
  • The Strings translations admin panel
  • Flerspråkigt mediebibliotek
  • The Edit Post screen with the Languages metabox

Installation

  1. Se till att du använder WordPress 5.1 eller senare och att din server kör PHP 5.6 eller senare (samma krav som WordPress själv)
  2. Om du provat andra språktillägg, avaktivera dem innan du aktiverar Polylang. Annars kan du få oväntade resultat!
  3. Installera och aktivera tillägget som vanligt från menyn ”Tillägg” i WordPress.
  4. Gå till ”Språk” under ”Inställningarna” och skapa de språk du behöver
  5. Lägg till widgeten ”Språkväljaren” för att kunna göra det möjlig för dina besökare att byta språk.
  6. Se till att ditt tema innehåller motsvarande .mo-filer (Polylang hämtar dem för teman och tillägg som levereras via WordPress). Om ditt tema ännu inte är förberett för översättning ber vi dig studera Temahandboken, eller kontakta temats författare och be dem anpassa temat för översättning.

Vanliga frågor

Var hittar man hjälp?

Är Polylang kompatibel med WooCommerce?

  • Du behöver en separat utökning för att Polylang och WooCommerce ska fungera tillsammans. En Premium-utökning är tillgänglig.

Behöver du översättningstjänster?

  • Om du vill använda professionell, eller automatisk översättningstjänst, installera och aktivera tillägget Lingotek Translation.

Recensioner

20 april 2021
El plugin es práctico, funciona muy bien. Y si sos desarrollador podes sacarle un poco mas de provecho.
Läs alla 1 927 betyg

Bidragsgivare och utvecklare

”Polylang” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”Polylang” har översatts till 44 språk. Tack till översättarna för deras bidrag.

Översätt ”Polylang” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

3.0.3 (2021-03-23)

  • Fix a warning when a language is corrupted in database (term_language missing)
  • Fix confirmation modal with WooCommerce and WordPress < 5.6
  • Fix an ajax conflict with WooCommerce Tree Table Rate Shipping and HubSpot All-In-One Marketing

3.0.2 (2021-03-16)

  • Move hreflang attributes higher in the head section #771
  • Fix custom flags not working (introduced in 3.0)
  • Fix translation of the confirmation modal when changing the language of a post
  • Fix js and css not loaded when Polylang is used as a mu-plugin ((introduced in 3.0))
  • Fix support for html5 stylesheet link tags #775
  • Fix possible warning in frontend-filters-links.php
  • Yoast SEO Premium: Take over the multilingual compatibility removed in Yoast SEO Premium 15.8 #796
  • Yoast SEO: Fix CPT breadcrumb title when the option is left empty #794
  • Yoast SEO: Fix sitemap.xml not redirected on secondary domains #789

3.0.1 (2021-03-10)

  • Fix media gallery messed when editing a post in the classic editor
  • Fix missing script dependency on old WP versions
  • Fix CSS conflict with WooCommerce Bookings for WP < 5.6
  • Fix conflict resulting in ’__’ already defined in block-editor.js. #779
  • Fix search form removed for some themes. Props Marián Kadaňka. #780
  • Fix fatal error with very old versions of Yoast SEO. Props Nicola Peluchetti. #781

3.0 (2021-03-08)

  • Add compatibility with WordPress 5.7
  • Remove upgrades from Polylang older than 1.8
  • Remove deprecated class PLL_Pointer
  • Pro: Hide the license keys
  • Pro: Fix redirect to the home page of a deactivated language
  • Pro: Fix synchronization of post status not working
  • Pro: Fix language switcher block not working in a post retrieved in REST API
  • Pro: Fix PO export of strings with line breaks
  • Pro: Fix file block title customization lost
  • Add a dialog box to ask a confirmation about a language change in classic and block editors
  • Improve browser language detection #591
  • Improve robustness and documentation of code
  • Fix media library after the language has been chnaged in the editor metabox
  • Fix duplicated title attribute on flag link in posts list
  • Fix legacy block editor language metabox compatibility with WordPress 5.6
  • Fix uploaded theme and plugin files in media library
  • Fix site title not translated in email change confirmation email
  • Fix remaining deprecated jQuery notices #741
  • Fix compatibility with GN publisher
  • Fix compatibility with Woodmart theme search form
  • Fix compatibility issue with 3rd party ajax requests since jQuery 3.3 #744
  • Fix CSS conflict with WooCommerce Bookings
  • Fix browser error when displaying an embed and using a cache plugin #757
  • Fix post type archive title and metadesc not translated in Yoast SEO
  • Fix PHP notice in REST API

2.9.2 (2021-02-02)

  • Pro: Fix translation of CPTUI plural label and description not working
  • Add Spanish (Ecuador) to the list of predefined languages
  • Fix typo in ”WordPress” string translation group. Props Viktor Szépe #682

2.9.1 (2020-12-15)

  • Fix PHP notice: Undefined property: PLL_Cache_Compat::$options with cache plugins. Props bahaa-almahamid. #658
  • Fix title of the search results page with Yoast SEO > 14.0

2.9 (2020-12-07)

  • Add compatibility with WordPress 5.6
  • Pro: Add locale fallback used when the theme or plugins translations are not available
  • Pro: Fix SSO and browser preferred language redirect when using multiple domains
  • Pro: Fix post slugs for German and Danish in the REST API
  • Pro: Fix a fatal error in ACF integration when saving url modifications with multiple domains
  • Pro: Fix a deprecated notice fired by ACF since the version 5.9.2
  • Pro: Fix ACF relationship fields not reloaded when changing the language in the classic editor
  • Update plugin updater to version 1.8
  • Add Lower Sorbian to the list of predefined language
  • Options are now translated on backend when using the admin language filter
  • Keep previous translations when modifying an option value
  • Add navigation markup to the language switcher widget
  • Fix canonical redirect for taxonomy terms
  • Fix a fatal error when deleting a post with a translation group corrupted in the database
  • Fix a fatal error when switching to plain permalinks and using multiple domains
  • Fix a conflict with WP Sweep which could corrupt languages
  • Fix title displayed instead of meta description with Yoast SEO > 14.0
  • Fix PHP Notice: Undefined index: wp_the_query in /frontend/choose-lang-content.php on line 92

See changelog.txt for older changelog