Polyglot 1.12 - yönlendirme iyileştirmeleri ve topluluk katkıları

Jekyll-Polyglot 1.12.0 yayınlandı! Bu sürüm, yönlendirme işleme iyileştirmelerine odaklanıyor ve çeşitli topluluk katkılarını içeriyor.

yönlendirme iyileştirmeleri

Bu sürüm, yönlendirmelerin Polyglot ile nasıl çalıştığına dair önemli iyileştirmeler içeriyor:

  • PR #275: Yönlendirmelerde çapa etiketi korunması - @GruberMarkus‘un çözümü sayesinde, yönlendirme URL’leri artık çapa etiketlerini doğru şekilde koruyor ve kullanıcıların tam olarak amaçladıkları yere ulaşmasını sağlıyor.

  • PR #293: jekyll-redirect-from eklentisi için alt dil yönlendirme desteği - @rathboma tarafından önerildi, Polyglot artık redirect_from ön maddesini alt diller arasında doğru şekilde kapsamlandırıyor, yinelenen yönlendirmeleri önlüyor ve varsayılan olmayan dil sayfaları için doğru yönlendirmeyi sağlıyor.

page.rendered_lang ile yedek sayfaları algıla

  • PR #283: Yeni page.rendered_lang değişkeni - @rathboma tarafından katkıda bulunuldu, bu yeni liquid değişkeni, bir sayfanın yedek olarak işlenip işlenmediğini algılamanızı sağlar. page.rendered_lang != site.active_lang olduğunda, sayfa içeriğinin henüz çevrilmediğini bilirsiniz.

/about sayfası, bu page.rendered_lang kullanışlı liquid değişkeninin en iyi nasıl kullanılacağına dair talimatlarla güncellendi.

yeni dil desteği

  • PR #280: İtalyanca ve Türkçe dil desteği Polyglot dokümantasyon sitesine eklendi ve çok dilli erişimimizi genişletti.

topluluk katkıları

Birçok topluluk üyesi projeye iyileştirmeler katkıda bulundu:

  • PR #277: Güncellenmiş kenar çubuğu zengin metin tanımları, sitenin çok dilli sunumunu iyileştiriyor.

  • PR #288: @manabu-nakamura tarafından katkıda bulunulan Japonca zengin metin dizeleri, Japonca deneyimini geliştiriyor.

Polyglot’u popüler Minimal Mistakes temasıyla nasıl entegre edeceğini gösteren jekyll-minimal-mistakes-polyglot demosu için @PanderMusubi‘ye özel teşekkürler.

Bu sürümü mümkün kılan tüm katkıda bulunanlara teşekkürler!

Polyglot 1.11 - miscellaneous fixes release

Jekyll Polyglot 1.11.0 has been released. It has fixes for tricky bugs that have been challenging to solve until recently. This release is possible thanks to fellow contributors and users like you.

fixed conflicts with jekyll themes

Other jekyll themes such as miminal-mistakes or chirpy use glob patterns in exclude: configurations which would previously conflict with polyglot processing websites with url relativization. @mattions contributed a fix to regex.escape these values before being applied to the relativization regexes.

This adjustment should help with using polyglot out-of-the-box with other common jekyll themes.

other miscellaneous fixes

support for japanese and arabic

The polyglot website now has translated support versions in arabic and japanese. These site translations were made with the help of AI ; if anything is mistranslated please contribute better corrections!

Polyglot 1.10 - i18n_headers improvements

Jekyll-Polyglot 1.10 is now available. It has vast improvements and changes to the i18n_headers liquid plugin for SEO improvements, and minor adjustments for parallel build idempotency. Community Contributions and Vibe Coding helped with a large portion of these release features, testing and blog post.

This version of polyglot now requires ruby >= 3.1 , which may break in build systems.

i18n_headers improvements

the i18n_headers plugin now has extended capabilities as part of this release:

  • it will add <link rel="canonical" ...> for each page language, so indexing is unique across sites.
  • it will add <link rel="alternate" hreflang="x-default" ...> to point to default language version of a site, when no matching language is requested by the browser.
  • it will correctly define <link rel="alternate" hreflang="..." > for pages and posts in collections with custom permalinks.
  • the default url will now include the site.baseUrl if defined

this additionally fixes a bug noticed that caused absolute url relativization to mangle these tags unintentionally.

vibe-coded contributions

Using certain vibe coding tools have helped find, measure and verify bug fixes and features for this release. This is a new approach for software development, and it created advanced ruby tests against jekyll plugin code running against many built site languages.

The tests written with vibe coding helped ensure the code coverage remained high, and complex features could be added with confidence. Ensuring the test automation was in place ensured tricky features could be built correctly.

Additionally vibe coding tools helped translate this blog post into many languages.

community contributions

Jekyll-Polyglot has been supported by humans. Human language documentation is contributed by humans who want to see this plugin documented in their native tongue. Humans contributing bug fixes and documentation are what have helped this plugin reach thousands of downloads a release. AI assisted programming, in my hands or yours, will shape the software we use, and in the many languages we write and speak.

ruby >= 3.1 required

Ongoing security updates to jekyll-polyglot build-time dependencies required a major version upgrade to ruby 3.1 . This may affect build systems that build their docs with jekyll-polyglot. But now is a good time to upgrade to the latest ruby major by now. Speak up if these changes cause complications with jekyll builds.

Polyglot 1.9.0 - Instructional Improvements

Jekyll-Polyglot 1.9.0 has been released, which has minor dependency updates, and instructional improvements for getting the most from your multi-language website.

Community provided instructional improvements

Thank you to aturret for helping to maintain the existing zh-CN site pages. 谢谢!

george-gca improved the optional derive_lang_from_path configuration to better identify document language from the path inference. Tests were added for his helpful feature improvement PR. This improvement helps infer the language of posts and pages missing lang frontmatter, from any part of the document filepath.

Github user yunseo-kim submitted a instructions to improve sitemap generation . To help with SEO, a website should have only one root sitemap.xml , and not have duplicates for each sub-language site. Be sure to add the sitemap.xml to the exclude_from_localization configuration.

Polyglot 1.8.1 - Community Bug Fixes Release

Jekyll-Polyglot 1.8.1 has been released, which has a few feature improvements and recognizes community found bugs and provided fixes.

Community provided bugfixes

hacketiwack provided a stricter check for setting a doc permalink, preventing downstream problems with empty frontmatter fields.

Github user blackpill submitted a one character bugfix for the i18n headers tag when rendering the default language link alternative href.