You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,8 @@ Estos somos nosotros!
113
113
Additionally, if you are also using the `jekyll-redirect-from` plugin, pages coordinated this way will automatically have redirects created between pages.
114
114
So `/es/about` will automatically redirect to `/es/acerca-de` and `/acerca-de` can redirect to `/about`. If you use this approach, be sure to also employ a customized [redirect.html](https://github.com/untra/polyglot/blob/main/site/_layouts/redirect.html).
115
115
116
+
As of version 1.12, Polyglot also properly supports `redirect_from` frontmatter across sublanguages. When you add redirect paths to pages in non-default languages, Polyglot will correctly scope those redirects to each language's prefix, preventing duplicate redirects and ensuring proper routing.
117
+
116
118
#### Fallback Language Support
117
119
Lets say you are building your website. You have an `/about/` page written in *english*, *german* and
118
120
*swedish*. You are also supporting a *french* website, but you never designed a *french* version of your `/about/` page!
@@ -346,6 +348,10 @@ These are talented and considerate software developers across the world that hav
title: Polyglot 1.12 - redirect improvements and community contributions
4
+
lang: en
5
+
description: Jekyll Polyglot 1.12.0 brings improved redirect support for sublanguages, fallback page detection, and new site language support
6
+
---
7
+
8
+
Jekyll-Polyglot `1.12.0` has been released! This release focuses on improving redirect handling and includes several community contributions.
9
+
10
+
## redirect improvements
11
+
12
+
This release includes important improvements to how redirects work with Polyglot:
13
+
14
+
-**PR #275**: Anchor tag preservation in redirects - thanks to a solution from [@GruberMarkus](https://github.com/GruberMarkus), redirect URLs now properly preserve anchor tags, ensuring users land exactly where they intended.
15
+
16
+
-**PR #293**: Sublanguage redirect support for the jekyll-redirect-from plugin - suggested by [@rathboma](https://github.com/rathboma), Polyglot now correctly scopes `redirect_from` frontmatter across sublanguages, preventing duplicate redirects and ensuring proper routing for non-default language pages.
17
+
18
+
## detect fallback pages with page.rendered_lang
19
+
20
+
-**PR #283**: New `page.rendered_lang` variable - contributed by [@rathboma](https://github.com/rathboma), this new liquid variable lets you detect when a page is being rendered as a fallback. When `page.rendered_lang != site.active_lang`, you know the page content hasn't been translated yet.
21
+
22
+
The [/about](/about) page has been updated with instructions on how to best use this `page.rendered_lang` convenience liquid variable.
23
+
24
+
## new language support
25
+
26
+
-**PR #280**: Italian and Turkish language support has been added to the Polyglot documentation site, expanding our multilingual reach.
27
+
28
+
## community contributions
29
+
30
+
Several community members contributed improvements to the project:
31
+
32
+
-**PR #277**: Updated sidebar rich text definitions, improving the site's multilingual presentation.
33
+
34
+
-**PR #288**: Japanese rich text strings contributed by [@manabu-nakamura](https://github.com/manabu-nakamura), enhancing the Japanese language experience.
35
+
36
+
A special thanks to [@PanderMusubi](https://github.com/PanderMusubi) for the [jekyll-minimal-mistakes-polyglot](https://github.com/PanderMusubi/jekyll-minimal-mistakes-polyglot) demo, showing how to integrate Polyglot with the popular Minimal Mistakes theme.
37
+
38
+
Thank you to all contributors who made this release possible!
title: Polyglot 1.12 - تحسينات إعادة التوجيه ومساهمات المجتمع
4
+
lang: ar
5
+
description: Jekyll Polyglot 1.12.0 يجلب دعم إعادة التوجيه المحسن للغات الفرعية واكتشاف صفحات الاحتياطي ودعم لغات موقع جديدة
6
+
---
7
+
8
+
تم إصدار Jekyll-Polyglot `1.12.0`! يركز هذا الإصدار على تحسين معالجة إعادة التوجيه ويتضمن العديد من مساهمات المجتمع.
9
+
10
+
## تحسينات إعادة التوجيه
11
+
12
+
يتضمن هذا الإصدار تحسينات مهمة في كيفية عمل إعادة التوجيه مع Polyglot:
13
+
14
+
-**PR #275**: الحفاظ على علامات الربط في إعادة التوجيه - بفضل حل من [@GruberMarkus](https://github.com/GruberMarkus)، تحافظ عناوين URL لإعادة التوجيه الآن بشكل صحيح على علامات الربط، مما يضمن وصول المستخدمين إلى المكان الذي قصدوه بالضبط.
15
+
16
+
-**PR #293**: دعم إعادة توجيه اللغات الفرعية لإضافة jekyll-redirect-from - اقترحه [@rathboma](https://github.com/rathboma)، يحدد Polyglot الآن بشكل صحيح نطاق frontmatter `redirect_from` عبر اللغات الفرعية، مما يمنع إعادة التوجيه المكررة ويضمن التوجيه الصحيح لصفحات اللغات غير الافتراضية.
17
+
18
+
## اكتشاف صفحات الاحتياطي باستخدام page.rendered_lang
19
+
20
+
-**PR #283**: متغير `page.rendered_lang` الجديد - ساهم به [@rathboma](https://github.com/rathboma)، يتيح لك متغير liquid الجديد هذا اكتشاف متى يتم عرض صفحة كاحتياطي. عندما `page.rendered_lang != site.active_lang`، تعرف أن محتوى الصفحة لم يتم ترجمته بعد.
21
+
22
+
تم تحديث صفحة [/about](/about) بتعليمات حول كيفية استخدام متغير liquid المريح `page.rendered_lang` بشكل أفضل.
23
+
24
+
## دعم لغات جديدة
25
+
26
+
-**PR #280**: تمت إضافة دعم اللغة الإيطالية والتركية إلى موقع توثيق Polyglot، مما يوسع نطاقنا متعدد اللغات.
27
+
28
+
## مساهمات المجتمع
29
+
30
+
ساهم العديد من أعضاء المجتمع بتحسينات للمشروع:
31
+
32
+
-**PR #277**: تعريفات نص منسق محدثة للشريط الجانبي، مما يحسن العرض متعدد اللغات للموقع.
33
+
34
+
-**PR #288**: سلاسل نص منسق يابانية ساهم بها [@manabu-nakamura](https://github.com/manabu-nakamura)، مما يعزز تجربة اللغة اليابانية.
35
+
36
+
شكر خاص لـ [@PanderMusubi](https://github.com/PanderMusubi) على عرض [jekyll-minimal-mistakes-polyglot](https://github.com/PanderMusubi/jekyll-minimal-mistakes-polyglot)، الذي يوضح كيفية دمج Polyglot مع قالب Minimal Mistakes الشهير.
37
+
38
+
شكراً لجميع المساهمين الذين جعلوا هذا الإصدار ممكناً!
title: Polyglot 1.12 - Weiterleitungsverbesserungen und Community-Beiträge
4
+
lang: de
5
+
description: Jekyll Polyglot 1.12.0 bringt verbesserte Weiterleitungsunterstützung für Untersprachen, Fallback-Seitenerkennung und neue Website-Sprachunterstützung
6
+
---
7
+
8
+
Jekyll-Polyglot `1.12.0` wurde veröffentlicht! Diese Version konzentriert sich auf die Verbesserung der Weiterleitungsbehandlung und enthält mehrere Community-Beiträge.
9
+
10
+
## Weiterleitungsverbesserungen
11
+
12
+
Diese Version enthält wichtige Verbesserungen bei der Funktionsweise von Weiterleitungen mit Polyglot:
13
+
14
+
-**PR #275**: Anker-Tag-Erhaltung bei Weiterleitungen - dank einer Lösung von [@GruberMarkus](https://github.com/GruberMarkus) erhalten Weiterleitungs-URLs jetzt korrekt Anker-Tags, sodass Benutzer genau dort landen, wo sie hinwollten.
15
+
16
+
-**PR #293**: Untersprachen-Weiterleitungsunterstützung für das jekyll-redirect-from Plugin - vorgeschlagen von [@rathboma](https://github.com/rathboma), begrenzt Polyglot jetzt korrekt `redirect_from` Frontmatter über Untersprachen hinweg, verhindert doppelte Weiterleitungen und stellt korrektes Routing für Nicht-Standard-Sprachseiten sicher.
17
+
18
+
## Fallback-Seiten mit page.rendered_lang erkennen
19
+
20
+
-**PR #283**: Neue `page.rendered_lang` Variable - beigetragen von [@rathboma](https://github.com/rathboma), ermöglicht diese neue Liquid-Variable zu erkennen, wenn eine Seite als Fallback gerendert wird. Wenn `page.rendered_lang != site.active_lang`, wissen Sie, dass der Seiteninhalt noch nicht übersetzt wurde.
21
+
22
+
Die [/about](/about) Seite wurde mit Anweisungen aktualisiert, wie diese `page.rendered_lang` Komfort-Liquid-Variable am besten verwendet wird.
23
+
24
+
## neue Sprachunterstützung
25
+
26
+
-**PR #280**: Italienische und türkische Sprachunterstützung wurde zur Polyglot-Dokumentationsseite hinzugefügt und erweitert unsere mehrsprachige Reichweite.
27
+
28
+
## Community-Beiträge
29
+
30
+
Mehrere Community-Mitglieder haben Verbesserungen zum Projekt beigetragen:
31
+
32
+
-**PR #277**: Aktualisierte Seitenleisten-Rich-Text-Definitionen, die die mehrsprachige Präsentation der Website verbessern.
33
+
34
+
-**PR #288**: Japanische Rich-Text-Strings beigetragen von [@manabu-nakamura](https://github.com/manabu-nakamura), die das japanische Spracherlebnis verbessern.
35
+
36
+
Ein besonderer Dank geht an [@PanderMusubi](https://github.com/PanderMusubi) für die [jekyll-minimal-mistakes-polyglot](https://github.com/PanderMusubi/jekyll-minimal-mistakes-polyglot) Demo, die zeigt, wie Polyglot mit dem beliebten Minimal Mistakes Theme integriert werden kann.
37
+
38
+
Vielen Dank an alle Mitwirkenden, die diese Version möglich gemacht haben!
0 commit comments