<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ko">
  <generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator>
  <link href="https://polyglot.untra.io/ko/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="https://polyglot.untra.io/ko/" rel="alternate" type="text/html" hreflang="ko"/>
  <updated>2026-08-21T14:09:59-06:00</updated>
  <id>https://polyglot.untra.io/ko/atom.xml</id>
  <title type="html">Polyglot</title>
  <subtitle>크고 작은 블로그 모두가 빠르고 직관적인 다국어 지원을 가능케 하는 i18n 지원 Jekyll 플러그인.</subtitle>
  
  <author>
    <name>Samuel Volin</name>
    <uri>https://github.com/untra</uri>
  </author>
  
  
  <entry>
    <title type="html">Polyglot 1.14 - 더 많은 언어, 리디렉션 수정, 커뮤니티 업데이트</title>
    <link href="https://polyglot.untra.io/ko/2026/08/21/polyglot.1.14.0/" rel="alternate" type="text/html" title="Polyglot 1.14 - 더 많은 언어, 리디렉션 수정, 커뮤니티 업데이트"/>
    <published>2026-08-21T00:00:00-06:00</published>
    <updated>2026-08-21T00:00:00-06:00</updated>
    <id>https://polyglot.untra.io/2026/08/21/polyglot.1.14.0</id>
    <content type="html" xml:base="https://polyglot.untra.io/2026/08/21/polyglot.1.14.0/">&lt;p&gt;Jekyll-Polyglot &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;1.14.0&lt;/code&gt;이 출시되었습니다! 이번 버전은 지역 언어 지원을 확장하고, 리디렉션의 엣지 케이스를 수정하며, 병렬 처리와 호환되지 않는 Jekyll 플러그인을 위한 새로운 호환성 옵션을 추가합니다.&lt;/p&gt;

&lt;h2 id=&quot;zh-tw-및-pt-pt-지원&quot;&gt;zh-TW 및 pt-PT 지원&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;a href=&quot;https://github.com/untra/polyglot/pull/316&quot;&gt;PR #316&lt;/a&gt;&lt;/strong&gt;: Polyglot 웹사이트가 이제 번체 중국어(&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;zh-TW&lt;/code&gt;)와 유럽 포르투갈어(&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pt-PT&lt;/code&gt;)를 사이트 언어로 지원합니다. Polyglot 문서 사이트는 기존의 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;zh-CN&lt;/code&gt; 및 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pt-BR&lt;/code&gt; 번역과 함께 두 언어의 번역된 페이지를 제공합니다. 언제나처럼 이 번역들은 AI의 도움으로 작성되었으며, 수정과 개선을 환영합니다!&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;redirect_from-중복-접두사-수정&quot;&gt;redirect_from 중복 접두사 수정&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;a href=&quot;https://github.com/untra/polyglot/pull/317&quot;&gt;PR #317&lt;/a&gt;&lt;/strong&gt;: jekyll-redirect-from 플러그인과 함께 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;redirect_from&lt;/code&gt; frontmatter를 처리하는 방식이 수정되었습니다. 사용자가 정의한 리디렉션은 이제 덮어쓰이지 않고 유지되며, 해당 언어로 올바르게 범위가 지정되고, 이미 언어 접두사가 붙은 리디렉션에는 더 이상 접두사가 중복으로 붙지 않습니다. 예를 들어 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/fr/old-page&lt;/code&gt; 리디렉션이 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/fr/fr/old-page&lt;/code&gt;가 되지 않습니다.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;병렬-처리-비호환-플러그인을-위한-serial_default_lang&quot;&gt;병렬 처리 비호환 플러그인을 위한 serial_default_lang&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;a href=&quot;https://github.com/untra/polyglot/pull/310&quot;&gt;PR #310&lt;/a&gt;&lt;/strong&gt;: &lt;strong&gt;&lt;a href=&quot;https://github.com/rathboma&quot;&gt;@rathboma&lt;/a&gt;&lt;/strong&gt; 님이 새로운 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;serial_default_lang&lt;/code&gt; 옵션을 기여해 주셨습니다. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;parallel_localization&lt;/code&gt;이 활성화되면 Polyglot은 언어마다 프로세스를 fork하는데, 이는 처음 사용 시 공유 캐시를 초기화하는 jekyll-assets 같은 플러그인과 경쟁 상태를 일으킬 수 있습니다. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;serial_default_lang: true&lt;/code&gt;로 설정하면 Polyglot이 나머지 언어를 fork하기 전에 부모 프로세스에서 기본 언어를 먼저 빌드하므로, 이런 플러그인은 정확히 한 번만 초기화되고 각 언어 프로세스는 준비된 상태를 상속받습니다. Polyglot의 병렬 빌드가 다른 Jekyll 플러그인과 충돌한 적이 있다면 이 옵션이 도움이 될 수 있습니다.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;ruby-의존성-업데이트&quot;&gt;ruby 의존성 업데이트&lt;/h2&gt;

&lt;p&gt;이번 버전에서는 ruby 의존성도 최신 상태로 유지됩니다.&lt;/p&gt;</content>
    <summary type="html">Jekyll-Polyglot 1.14.0이 출시되었습니다! 이번 버전은 지역 언어 지원을 확장하고, 리디렉션의 엣지 케이스를 수정하며, 병렬 처리와 호환되지 않는 Jekyll 플러그인을 위한 새로운 호환성 옵션을 추가합니다.</summary>
  </entry>
  
  <entry>
    <title type="html">Polyglot 1.13 - 새로운 liquid 변수, SEO 및 리디렉션 개선</title>
    <link href="https://polyglot.untra.io/ko/2026/05/13/polyglot.1.13.0/" rel="alternate" type="text/html" title="Polyglot 1.13 - 새로운 liquid 변수, SEO 및 리디렉션 개선"/>
    <published>2026-05-13T00:00:00-06:00</published>
    <updated>2026-05-13T00:00:00-06:00</updated>
    <id>https://polyglot.untra.io/2026/05/13/polyglot.1.13.0</id>
    <content type="html" xml:base="https://polyglot.untra.io/2026/05/13/polyglot.1.13.0/">&lt;p&gt;Jekyll-Polyglot &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;1.13.0&lt;/code&gt;이 출시되었습니다! 이번 릴리스는 &lt;a href=&quot;https://github.com/rathboma&quot;&gt;@rathboma&lt;/a&gt;와 &lt;a href=&quot;https://www.beekeeperstudio.io/&quot;&gt;Beekeeper Studio&lt;/a&gt;의 지원과 많은 기여 덕분에 가능했습니다.&lt;/p&gt;

&lt;h2 id=&quot;더-나은-hreflang-생성&quot;&gt;더 나은 hreflang 생성&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;a href=&quot;https://github.com/untra/polyglot/pull/282&quot;&gt;PR #282&lt;/a&gt;&lt;/strong&gt;: &lt;strong&gt;@rathboma&lt;/strong&gt;가 hreflang 태그 생성에 대한 개선 사항을 병합하여 구성되지 않은 언어에 대한 폴백 옵션을 추가했습니다. 이는 다국어 사이트에서 생성되는 헤더의 SEO와 정확성을 향상시킵니다.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;언어-코드-불일치에-대한-경고&quot;&gt;언어 코드 불일치에 대한 경고&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;&lt;a href=&quot;https://github.com/untra/polyglot/pull/287&quot;&gt;PR #287&lt;/a&gt;&lt;/strong&gt;: &lt;strong&gt;@rathboma&lt;/strong&gt;가 게시물의 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lang:&lt;/code&gt; 값이 구성된 사이트 언어와 일치하지 않을 때 빌드 시 경고를 추가했습니다. 이제 언어 매칭은 대소문자를 구분하지 않으므로 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;EN&lt;/code&gt;과 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;en&lt;/code&gt;은 동일하게 처리됩니다.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;&lt;a href=&quot;https://github.com/untra/polyglot/pull/290&quot;&gt;PR #290&lt;/a&gt;&lt;/strong&gt;: &lt;strong&gt;@rathboma&lt;/strong&gt; 필터링이 이제 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;languages:&lt;/code&gt; 설정에 없는 언어로 작성된 게시물을 적절히 제외하여 구성되지 않은 콘텐츠가 빌드에 유입되는 것을 방지합니다.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;netlify-_redirects-현지화&quot;&gt;Netlify _redirects 현지화&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;a href=&quot;https://github.com/untra/polyglot/pull/285&quot;&gt;PR #285&lt;/a&gt;&lt;/strong&gt;: &lt;strong&gt;@rathboma&lt;/strong&gt;가 새로운 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;localize_redirects&lt;/code&gt; 옵션을 추가했습니다. 활성화되면 Polyglot이 Netlify &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_redirects&lt;/code&gt; 규칙의 언어 접두사가 붙은 복사본을 자동으로 생성하므로 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/github&lt;/code&gt; 같은 리디렉션이 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/fr/github&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/de/github&lt;/code&gt; 등에서도 작동합니다. 설정 세부 정보는 &lt;a href=&quot;/seo/&quot;&gt;SEO 레시피 페이지&lt;/a&gt;를 참조하세요.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;번역-상태를-위한-새로운-liquid-변수&quot;&gt;번역 상태를 위한 새로운 liquid 변수&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;a href=&quot;https://github.com/untra/polyglot/pull/305&quot;&gt;PR #305&lt;/a&gt;&lt;/strong&gt;: 두 가지 새로운 liquid 변수 — &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;page.missing_languages&lt;/code&gt;와 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;page.available_languages&lt;/code&gt; — 를 통해 템플릿이 페이지가 어떤 언어로 번역되었는지, 어떤 언어가 아직 누락되었는지 확인할 수 있습니다. 더 풍부한 언어 전환기 및 사이드바를 구축하는 데 유용합니다.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;새로운-언어-번역&quot;&gt;새로운 언어 번역&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;a href=&quot;https://github.com/untra/polyglot/pull/303&quot;&gt;PR #303&lt;/a&gt;&lt;/strong&gt;: Polyglot 문서 사이트에 AI 지원 번역의 도움으로 우크라이나어(uk)와 힌디어(hi) 번역이 추가되었습니다. 수정은 환영합니다!&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;&lt;a href=&quot;https://github.com/untra/polyglot/pull/297&quot;&gt;PR #297&lt;/a&gt;&lt;/strong&gt;: &lt;a href=&quot;https://github.com/manabu-nakamura&quot;&gt;@manabu-nakamura&lt;/a&gt;님이 일본어(ja) 사이트 번역에 대한 수정 사항을 기여해 주셨습니다. 감사합니다!&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;ai-개발-도구-지원&quot;&gt;AI 개발 도구 지원&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;a href=&quot;https://github.com/untra/polyglot/pull/298&quot;&gt;PR #298&lt;/a&gt;&lt;/strong&gt;: Polyglot은 이제 GitHub Copilot, Claude Code 및 공유 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AGENTS.md&lt;/code&gt; 규칙에 대한 일급 엔지니어링 지원을 제공합니다. AI는 이제 워크플로의 일부이며, 이러한 도구로 만든 기여를 환영합니다.&lt;/li&gt;
  &lt;li&gt;htmlproofer 및 rubocop 조정을 포함한 추가 CI 품질 검사가 추가되었습니다.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;사이드바가-누락된-번역을-표시합니다&quot;&gt;사이드바가 누락된 번역을 표시합니다&lt;/h2&gt;

&lt;p&gt;문서 사이트 사이드바는 이제 활성 언어로 아직 번역되지 않은 페이지를 표시하여 독자와 기여자가 누락된 부분을 더 쉽게 발견할 수 있도록 합니다.&lt;/p&gt;

&lt;p&gt;이번 릴리스에 기여해 주신 &lt;a href=&quot;https://github.com/rathboma&quot;&gt;@rathboma&lt;/a&gt;와 모든 분들께 감사드립니다!&lt;/p&gt;</content>
    <summary type="html">Jekyll-Polyglot 1.13.0이 출시되었습니다! 이번 릴리스는 @rathboma와 Beekeeper Studio의 지원과 많은 기여 덕분에 가능했습니다.</summary>
  </entry>
  
  <entry>
    <title type="html">Polyglot 1.12 - 리디렉션 개선 및 커뮤니티 기여</title>
    <link href="https://polyglot.untra.io/ko/2026/01/31/polyglot.1.12.0/" rel="alternate" type="text/html" title="Polyglot 1.12 - 리디렉션 개선 및 커뮤니티 기여"/>
    <published>2026-01-31T00:00:00-07:00</published>
    <updated>2026-01-31T00:00:00-07:00</updated>
    <id>https://polyglot.untra.io/2026/01/31/polyglot.1.12.0</id>
    <content type="html" xml:base="https://polyglot.untra.io/2026/01/31/polyglot.1.12.0/">&lt;p&gt;Jekyll-Polyglot &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;1.12.0&lt;/code&gt;이 출시되었습니다! 이번 릴리스는 리디렉션 처리 개선에 중점을 두고 있으며 여러 커뮤니티 기여를 포함합니다.&lt;/p&gt;

&lt;h2 id=&quot;리디렉션-개선&quot;&gt;리디렉션 개선&lt;/h2&gt;

&lt;p&gt;이번 릴리스에는 Polyglot에서 리디렉션이 작동하는 방식에 대한 중요한 개선 사항이 포함되어 있습니다:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;PR #275&lt;/strong&gt;: 리디렉션에서 앵커 태그 보존 - &lt;a href=&quot;https://github.com/GruberMarkus&quot;&gt;@GruberMarkus&lt;/a&gt;의 솔루션 덕분에 리디렉션 URL이 이제 앵커 태그를 올바르게 보존하여 사용자가 정확히 원하는 곳에 도달하도록 합니다.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;PR #293&lt;/strong&gt;: jekyll-redirect-from 플러그인에 대한 하위 언어 리디렉션 지원 - &lt;a href=&quot;https://github.com/rathboma&quot;&gt;@rathboma&lt;/a&gt;의 제안으로, Polyglot은 이제 하위 언어 전체에서 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;redirect_from&lt;/code&gt; 프론트매터를 올바르게 범위 지정하여 중복 리디렉션을 방지하고 기본 언어가 아닌 페이지에 대한 올바른 라우팅을 보장합니다.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;pagerendered_lang로-폴백-페이지-감지&quot;&gt;page.rendered_lang로 폴백 페이지 감지&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;PR #283&lt;/strong&gt;: 새로운 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;page.rendered_lang&lt;/code&gt; 변수 - &lt;a href=&quot;https://github.com/rathboma&quot;&gt;@rathboma&lt;/a&gt;가 기여한 이 새로운 liquid 변수를 사용하면 페이지가 폴백으로 렌더링될 때 감지할 수 있습니다. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;page.rendered_lang != site.active_lang&lt;/code&gt;일 때 페이지 콘텐츠가 아직 번역되지 않았음을 알 수 있습니다.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href=&quot;/about&quot;&gt;/about&lt;/a&gt; 페이지가 이 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;page.rendered_lang&lt;/code&gt; 편의 liquid 변수를 가장 잘 사용하는 방법에 대한 지침으로 업데이트되었습니다.&lt;/p&gt;

&lt;h2 id=&quot;새로운-언어-지원&quot;&gt;새로운 언어 지원&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;PR #280&lt;/strong&gt;: 이탈리아어 및 터키어 언어 지원이 Polyglot 문서 사이트에 추가되어 다국어 범위를 확장했습니다.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;커뮤니티-기여&quot;&gt;커뮤니티 기여&lt;/h2&gt;

&lt;p&gt;여러 커뮤니티 멤버들이 프로젝트에 개선 사항을 기여했습니다:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;PR #277&lt;/strong&gt;: 업데이트된 사이드바 리치 텍스트 정의로 사이트의 다국어 프레젠테이션이 개선되었습니다.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;PR #288&lt;/strong&gt;: &lt;a href=&quot;https://github.com/manabu-nakamura&quot;&gt;@manabu-nakamura&lt;/a&gt;가 기여한 일본어 리치 텍스트 문자열로 일본어 경험이 향상되었습니다.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;인기 있는 Minimal Mistakes 테마와 Polyglot을 통합하는 방법을 보여주는 &lt;a href=&quot;https://github.com/PanderMusubi/jekyll-minimal-mistakes-polyglot&quot;&gt;jekyll-minimal-mistakes-polyglot&lt;/a&gt; 데모를 제공해 주신 &lt;a href=&quot;https://github.com/PanderMusubi&quot;&gt;@PanderMusubi&lt;/a&gt;에게 특별히 감사드립니다.&lt;/p&gt;

&lt;p&gt;이번 릴리스를 가능하게 해주신 모든 기여자분들께 감사드립니다!&lt;/p&gt;</content>
    <summary type="html">Jekyll-Polyglot 1.12.0이 출시되었습니다! 이번 릴리스는 리디렉션 처리 개선에 중점을 두고 있으며 여러 커뮤니티 기여를 포함합니다.</summary>
  </entry>
  
  <entry>
    <title type="html">Polyglot 1.11 - 기타 수정사항 릴리스</title>
    <link href="https://polyglot.untra.io/ko/2025/09/20/polyglot.1.11.0/" rel="alternate" type="text/html" title="Polyglot 1.11 - 기타 수정사항 릴리스"/>
    <published>2025-09-20T00:00:00-06:00</published>
    <updated>2025-09-20T00:00:00-06:00</updated>
    <id>https://polyglot.untra.io/2025/09/20/polyglot.1.11.0</id>
    <content type="html" xml:base="https://polyglot.untra.io/2025/09/20/polyglot.1.11.0/">&lt;p&gt;Jekyll Polyglot 1.11.0이 출시되었습니다. 최근까지 해결하기 어려웠던 까다로운 버그들에 대한 수정사항을 포함하고 있습니다. 이 릴리스는 당신과 같은 기여자들과 사용자들 덕분에 가능했습니다.&lt;/p&gt;

&lt;h2 id=&quot;jekyll-테마와의-충돌-수정&quot;&gt;jekyll 테마와의 충돌 수정&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mmistakes/minimal-mistakes/blob/master/_config.yml#L168-L169&quot;&gt;minimal-mistakes&lt;/a&gt;나 &lt;a href=&quot;https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/_config.yml#L208-L210&quot;&gt;chirpy&lt;/a&gt;와 같은 다른 jekyll 테마들은 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;exclude:&lt;/code&gt; 설정에서 glob 패턴을 사용하는데, 이전에는 URL 상대화를 사용하는 웹사이트의 polyglot 처리와 충돌했습니다. &lt;a href=&quot;https://github.com/mattions&quot;&gt;@mattions&lt;/a&gt;이 상대화 정규식에 적용되기 전에 이러한 값들을 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;regex.escape&lt;/code&gt;하는 수정사항을 기여했습니다.&lt;/p&gt;

&lt;p&gt;이 조정은 다른 일반적인 jekyll 테마와 함께 polyglot을 즉시 사용하는 데 도움이 될 것입니다.&lt;/p&gt;

&lt;h2 id=&quot;기타-다양한-수정사항&quot;&gt;기타 다양한 수정사항&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/untra/polyglot/pull/266&quot;&gt;:polyglot, :post_write 훅이 사이트를 올바르게 전달&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/untra/polyglot/pull/262&quot;&gt;i18n_headers x-default 값이 사이트 URL과 올바르게 일치&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/untra/polyglot/pull/263&quot;&gt;codecov 및 ci 조정&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;일본어-및-아랍어-지원&quot;&gt;일본어 및 아랍어 지원&lt;/h2&gt;

&lt;p&gt;polyglot 웹사이트는 이제 &lt;a href=&quot;https://polyglot.untra.io/ar/&quot;&gt;아랍어&lt;/a&gt;와 &lt;a href=&quot;https://polyglot.untra.io/ja/&quot;&gt;일본어&lt;/a&gt;로 번역된 지원 버전을 가지고 있습니다. 이러한 사이트 번역은 AI의 도움으로 만들어졌습니다; 잘못 번역된 부분이 있다면 더 나은 수정사항을 기여해 주세요!&lt;/p&gt;</content>
    <summary type="html">Jekyll Polyglot 1.11.0이 출시되었습니다. 최근까지 해결하기 어려웠던 까다로운 버그들에 대한 수정사항을 포함하고 있습니다. 이 릴리스는 당신과 같은 기여자들과 사용자들 덕분에 가능했습니다.</summary>
  </entry>
  
  <entry>
    <title type="html">Polyglot 1.10 - i18n_headers 개선</title>
    <link href="https://polyglot.untra.io/ko/2025/07/07/polyglot-1.10.0/" rel="alternate" type="text/html" title="Polyglot 1.10 - i18n_headers 개선"/>
    <published>2025-07-07T00:00:00-06:00</published>
    <updated>2025-07-07T00:00:00-06:00</updated>
    <id>https://polyglot.untra.io/2025/07/07/polyglot-1.10.0</id>
    <content type="html" xml:base="https://polyglot.untra.io/2025/07/07/polyglot-1.10.0/">&lt;p&gt;Jekyll-Polyglot 1.10이 출시되었습니다. 이번 릴리스에서는 SEO 개선을 위한 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;i18n_headers&lt;/code&gt; liquid 플러그인에 대한 대대적인 개선과, 병렬 빌드의 멱등성 관련 소규모 조정이 포함되어 있습니다. 커뮤니티 기여자들과 Vibe Coding이 많은 기능, 테스트, 블로그 포스트 작성에 큰 도움을 주었습니다.&lt;/p&gt;

&lt;h2 id=&quot;i18n_headers-개선-사항&quot;&gt;i18n_headers 개선 사항&lt;/h2&gt;

&lt;p&gt;이번 릴리스에서 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;i18n_headers&lt;/code&gt; 플러그인은 다음과 같은 확장된 기능을 갖추게 되었습니다:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;각 페이지 언어별로 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;link rel=&quot;canonical&quot; ...&amp;gt;&lt;/code&gt;을 추가하여 사이트별 인덱싱이 고유하게 됩니다.&lt;/li&gt;
  &lt;li&gt;브라우저에서 일치하는 언어를 요청하지 않을 때, 사이트의 기본 언어 버전을 가리키는 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;link rel=&quot;alternate&quot; hreflang=&quot;x-default&quot; ...&amp;gt;&lt;/code&gt;을 추가합니다.&lt;/li&gt;
  &lt;li&gt;커스텀 퍼머링크가 적용된 컬렉션 내의 페이지 및 포스트에 대해 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;link rel=&quot;alternate&quot; hreflang=&quot;...&quot;&amp;gt;&lt;/code&gt;를 올바르게 정의합니다.&lt;/li&gt;
  &lt;li&gt;기본 URL에 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;site.baseUrl&lt;/code&gt;이 정의되어 있다면 이를 포함합니다.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;또한, 절대 URL을 상대화할 때 이러한 태그가 의도치 않게 손상되는 버그도 수정되었습니다.&lt;/p&gt;

&lt;h2 id=&quot;vibe-coded-기여&quot;&gt;vibe-coded 기여&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Vibe_coding&quot;&gt;vibe coding&lt;/a&gt; 도구를 활용하여 이번 릴리스의 버그 수정과 기능 추가를 찾고, 측정하고, 검증할 수 있었습니다. 이는 소프트웨어 개발의 새로운 접근 방식으로, 다양한 언어로 빌드된 사이트에서 동작하는 Jekyll 플러그인 코드를 대상으로 고급 Ruby 테스트를 작성할 수 있게 해줍니다.&lt;/p&gt;

&lt;p&gt;vibe coding으로 작성된 테스트는 높은 테스트 커버리지를 유지하고, 복잡한 기능을 자신 있게 추가할 수 있도록 도왔습니다. 테스트 자동화로 인해 까다로운 기능도 올바르게 구현될 수 있었습니다.&lt;/p&gt;

&lt;p&gt;또한, vibe coding 도구는 이 블로그 포스트를 여러 언어로 번역하는 데에도 도움을 주었습니다.&lt;/p&gt;

&lt;h2 id=&quot;커뮤니티-기여&quot;&gt;커뮤니티 기여&lt;/h2&gt;

&lt;p&gt;Jekyll-Polyglot은 사람들의 지원을 받아왔습니다. 인간 언어로 된 문서는 자신의 모국어로 이 플러그인이 문서화되기를 바라는 사람들이 기여합니다. 버그 수정과 문서화에 기여한 사람들은 이 플러그인이 릴리스마다 수천 번 다운로드되는 데 큰 역할을 했습니다. AI 지원 프로그래밍은 저와 여러분의 손에서 우리가 사용하는 소프트웨어와 우리가 쓰고 말하는 다양한 언어를 형성할 것입니다.&lt;/p&gt;

&lt;h2 id=&quot;ruby--31-필요&quot;&gt;ruby &amp;gt;= 3.1 필요&lt;/h2&gt;

&lt;p&gt;jekyll-polyglot 빌드 타임 의존성의 지속적인 보안 업데이트로 인해 ruby 3.1로의 주요 버전 업그레이드가 필요했습니다. 이로 인해 jekyll-polyglot으로 문서를 빌드하는 시스템에 영향이 있을 수 있습니다. 지금이 최신 ruby 주요 버전으로 업그레이드할 좋은 시기입니다. 이 변경으로 인해 jekyll 빌드에 문제가 발생하면 알려주세요.&lt;/p&gt;</content>
    <summary type="html">Jekyll-Polyglot 1.10이 출시되었습니다. 이번 릴리스에서는 SEO 개선을 위한 i18n_headers liquid 플러그인에 대한 대대적인 개선과, 병렬 빌드의 멱등성 관련 소규모 조정이 포함되어 있습니다. 커뮤니티 기여자들과 Vibe Coding이 많은 기능, 테스트, 블로그 포스트 작성에 큰 도움을 주었습니다.</summary>
  </entry>
  
  <entry>
    <title type="html">Polyglot 1.9.0 - Instructional Improvements</title>
    <link href="https://polyglot.untra.io/ko/2025/01/18/polyglot-1.9.0/" rel="alternate" type="text/html" title="Polyglot 1.9.0 - Instructional Improvements"/>
    <published>2025-01-18T00:00:00-07:00</published>
    <updated>2025-01-18T00:00:00-07:00</updated>
    <id>https://polyglot.untra.io/2025/01/18/polyglot-1.9.0</id>
    <content type="html" xml:base="https://polyglot.untra.io/2025/01/18/polyglot-1.9.0/">&lt;p&gt;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.&lt;/p&gt;

&lt;h2 id=&quot;community-provided-instructional-improvements&quot;&gt;Community provided instructional improvements&lt;/h2&gt;

&lt;p&gt;Thank you to &lt;strong&gt;&lt;a href=&quot;https://github.com/aturret&quot;&gt;aturret&lt;/a&gt;&lt;/strong&gt; for helping to maintain the existing &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;zh-CN&lt;/code&gt; site pages. 谢谢！&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;https://github.com/george-gca&quot;&gt;george-gca&lt;/a&gt;&lt;/strong&gt; improved the optional &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;derive_lang_from_path&lt;/code&gt; configuration to better identify document language from the path inference. Tests were added for his helpful &lt;a href=&quot;https://github.com/untra/polyglot/pull/222&quot;&gt;feature improvement PR&lt;/a&gt;. This improvement helps infer the language of posts and pages missing &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lang&lt;/code&gt; frontmatter, from any part of the document filepath.&lt;/p&gt;

&lt;p&gt;Github user &lt;strong&gt;&lt;a href=&quot;https://github.com/yunseo-kim&quot;&gt;yunseo-kim&lt;/a&gt;&lt;/strong&gt; submitted a &lt;a href=&quot;https://github.com/untra/polyglot/pull/230&quot;&gt;instructions to improve sitemap generation&lt;/a&gt; . 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 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sitemap.xml&lt;/code&gt; to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;exclude_from_localization&lt;/code&gt; configuration.&lt;/p&gt;</content>
    <summary type="html">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.</summary>
  </entry>
  
  <entry>
    <title type="html">Polyglot 1.8.1 - Community Bug Fixes Release</title>
    <link href="https://polyglot.untra.io/ko/2024/08/18/polyglot-1.8.1/" rel="alternate" type="text/html" title="Polyglot 1.8.1 - Community Bug Fixes Release"/>
    <published>2024-08-18T00:00:00-06:00</published>
    <updated>2024-08-18T00:00:00-06:00</updated>
    <id>https://polyglot.untra.io/2024/08/18/polyglot-1.8.1</id>
    <content type="html" xml:base="https://polyglot.untra.io/2024/08/18/polyglot-1.8.1/">&lt;p&gt;Jekyll-Polyglot 1.8.1이 출시되었습니다. 이번 릴리스에는 몇 가지 기능 개선 사항과 커뮤니티에서 발견된 버그 해결이 포함되어 있습니다.&lt;/p&gt;

&lt;h2 id=&quot;커뮤니티-제공-버그-수정&quot;&gt;커뮤니티 제공 버그 수정&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;https://github.com/hacketiwack&quot;&gt;hacketiwack&lt;/a&gt;&lt;/strong&gt;은 문서 퍼malink 설정을 위한 &lt;a href=&quot;https://github.com/untra/polyglot/pull/200/files&quot;&gt;보다 엄격한 검사&lt;/a&gt;를 제공하여 빈 프런트매터 필드로 인한 하류 문제를 방지했습니다.&lt;/p&gt;

&lt;p&gt;Github 사용자 &lt;strong&gt;&lt;a href=&quot;https://github.com/blackpill&quot;&gt;blackpill&lt;/a&gt;&lt;/strong&gt;은 기본 언어 링크 대체 href 렌더링 시 i18n 헤더 태그에 대한 &lt;a href=&quot;https://github.com/untra/polyglot/pull/211/files&quot;&gt;단일 문자 버그 수정&lt;/a&gt;을 제출했습니다.&lt;/p&gt;</content>
    <summary type="html">Jekyll-Polyglot 1.8.1이 출시되었습니다. 이번 릴리스에는 몇 가지 기능 개선 사항과 커뮤니티에서 발견된 버그 해결이 포함되어 있습니다.</summary>
  </entry>
  
  <entry>
    <title type="html">Polyglot 1.8.0 - 커뮤니티 제공물 릴리스</title>
    <link href="https://polyglot.untra.io/ko/2024/03/17/polyglot-1.8.0/" rel="alternate" type="text/html" title="Polyglot 1.8.0 - 커뮤니티 제공물 릴리스"/>
    <published>2024-03-17T00:00:00-06:00</published>
    <updated>2024-03-17T00:00:00-06:00</updated>
    <id>https://polyglot.untra.io/2024/03/17/polyglot-1.8.0</id>
    <content type="html" xml:base="https://polyglot.untra.io/2024/03/17/polyglot-1.8.0/">&lt;p&gt;몇 가지 기능 향상과 커뮤니티 문서 및 기여를 인정하는 Jekyll-Polyglot 1.8.0에 대해 기대를 높이세요! 몇 가지 기능 향상과 커뮤니티 문서 및 기여를 인정하는 제킬-폴리글롯 1.8.0 에 대해 기대를 높이세요!&lt;/p&gt;

&lt;h2 id=&quot;언어별-고유-링크&quot;&gt;언어별 고유 링크&lt;/h2&gt;

&lt;p&gt;한 가지 새로운 기능은 페이지에 언어별 고유 링크를 제공하고 다른 상대 페이지와의 연결을 유지하는 것입니다. 이 새로운 기능은 또 다시 &lt;strong&gt;&lt;a href=&quot;https://github.com/antoniovazquezblanco&quot;&gt;antoniovazquezblanco&lt;/a&gt;&lt;/strong&gt; 에 의해 개선되었습니다, 진실된 신사이면서 학식 있는 분입니다.&lt;/p&gt;

&lt;h2 id=&quot;사이트맵-생성-및-다국어-seo&quot;&gt;사이트맵 생성 및 다국어 SEO&lt;/h2&gt;

&lt;p&gt;이 릴리스는 또한 품질을 인정합니다 &lt;a href=&quot;https://polyglot.untra.io/sitemap.xml&quot;&gt;sitemap.xml&lt;/a&gt; 그리고 &lt;a href=&quot;https://polyglot.untra.io/robots.txt&quot;&gt;robots.txt&lt;/a&gt; solution provided by &lt;strong&gt;&lt;a href=&quot;https://github.com/jerturowetz&quot;&gt;jerturowetz&lt;/a&gt;&lt;/strong&gt;. 이 사이트는 이제 검색 엔진에 의해 정적 제킬 웹사이트로 크롤링될 수 있도록 이러한 설정을 사용하여 더 많은 SEO 기능을 보여주고 활용합니다. &lt;a href=&quot;https://github.com/untra/polyglot/tree/master/site&quot;&gt;여기&lt;/a&gt; 예시 웹사이트 파일을 참조하십시오.&lt;/p&gt;

&lt;h2 id=&quot;jekyll-polyglot-post_write-hook&quot;&gt;jekyll :polyglot :post_write hook&lt;/h2&gt;

&lt;p&gt;Github 사용자  &lt;strong&gt;&lt;a href=&quot;https://github.com/obfusk&quot;&gt;obfusk&lt;/a&gt;&lt;/strong&gt; 몇 년 전 작은  &lt;a href=&quot;https://github.com/untra/polyglot/pull/142&quot;&gt;기여를 했습니다&lt;/a&gt; 기여를 했습니다.&lt;/p&gt;

&lt;p&gt;을 사용하여 polyglot &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:site, :post_write&lt;/code&gt; 이 기능은 각 자식 프로세스 실행 시 한 번 실행됩니다:&lt;/p&gt;

&lt;div class=&quot;language-rb highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;no&quot;&gt;Jekyll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;Hooks&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;register&lt;/span&gt; &lt;span class=&quot;ss&quot;&gt;:site&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;ss&quot;&gt;:post_write&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;do&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;site&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;
  &lt;span class=&quot;o&quot;&gt;...&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;이 릴리스는 모든 언어가 처리된 후 정확히 한 번 실행되는 사용자 정의 후크 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:post_write&lt;/code&gt; 를 추가합니다 (여부 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;parallel_localization&lt;/code&gt; 사용됩니다):&lt;/p&gt;

&lt;div class=&quot;language-rb highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;no&quot;&gt;Jekyll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;Hooks&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;register&lt;/span&gt; &lt;span class=&quot;ss&quot;&gt;:polyglot&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;ss&quot;&gt;:post_write&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;do&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;site&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;# 여기서 놀라운 것을 만들어 보세요!&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;이 기능은 추가적인 활용이 필요한 복잡한 제킬 정적 사이트에 유용합니다  &lt;a href=&quot;https://jekyllrb.com/docs/plugins/hooks/&quot;&gt;jekyll hook plugins&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;그녀는 또한 다음과 같은 문제를 해결하는 &lt;a href=&quot;https://github.com/untra/polyglot/pull/145&quot;&gt;언어 서브 프로세스 충돌 시 추가 로깅&lt;/a&gt;. 이 기여에 감사합니다!&lt;/p&gt;

&lt;h2 id=&quot;지역-변수-및-포르투갈어-번역&quot;&gt;지역 변수 및 포르투갈어 번역&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;https://github.com/george-gca&quot;&gt;george-gca&lt;/a&gt;&lt;/strong&gt; 재능이 뛰어나고 멋진 분입니다, 그는 &lt;a href=&quot;/2024/02/29/localized-variables/&quot;&gt;전체 블로그 게시물을 기고했습니다&lt;/a&gt; 웹사이트 데이터에서 리치 텍스트를 가장 효과적으로 로컬라이징하는 방법에 대한. 그는 또한 제공했습니다 &lt;a href=&quot;https://polyglot.untra.io/pt-BR/&quot;&gt;브라질 포르투갈어 사이트 번역&lt;/a&gt;.&lt;/p&gt;</content>
    <summary type="html">몇 가지 기능 향상과 커뮤니티 문서 및 기여를 인정하는 Jekyll-Polyglot 1.8.0에 대해 기대를 높이세요! 몇 가지 기능 향상과 커뮤니티 문서 및 기여를 인정하는 제킬-폴리글롯 1.8.0 에 대해 기대를 높이세요!</summary>
  </entry>
  
  <entry>
    <title type="html">Localized variables</title>
    <link href="https://polyglot.untra.io/ko/2024/02/29/localized-variables/" rel="alternate" type="text/html" title="Localized variables"/>
    <published>2024-02-29T00:00:00-07:00</published>
    <updated>2024-02-29T00:00:00-07:00</updated>
    <id>https://polyglot.untra.io/2024/02/29/localized-variables</id>
    <content type="html" xml:base="https://polyglot.untra.io/2024/02/29/localized-variables/">&lt;p&gt;Polyglot allows you to have different pages for different languages in your Jekyll site. For example, one could have a page &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;about.md&lt;/code&gt; in English and another &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;about.md&lt;/code&gt; in Spanish with completely different layouts. But if you want to have the same layout for both pages, you can use localized variables. This is a way to have different data for different languages in your Jekyll site, but using the same layout for all languages.&lt;/p&gt;

&lt;p&gt;As an example I will use a &lt;a href=&quot;https://github.com/george-gca/multi-language-al-folio&quot;&gt;template site&lt;/a&gt; created with Polyglot.&lt;/p&gt;

&lt;h2 id=&quot;sharing-a-layout-between-pages&quot;&gt;Sharing a layout between pages&lt;/h2&gt;

&lt;p&gt;In that site they have an about page for every language, in their case english in &lt;a href=&quot;https://github.com/george-gca/multi-language-al-folio/blob/main/_pages/en-us/about.md&quot;&gt;_pages/en-us/about.md&lt;/a&gt; and brazilian portuguese in &lt;a href=&quot;https://github.com/george-gca/multi-language-al-folio/blob/main/_pages/pt-br/about.md&quot;&gt;_pages/pt-br/about.md&lt;/a&gt;. In both pages we can see that they have the same keys in the frontmatter, but some with different values. Both files point to the same &lt;a href=&quot;https://jekyllrb.com/docs/layouts/&quot;&gt;layout&lt;/a&gt;, &lt;a href=&quot;https://github.com/george-gca/multi-language-al-folio/blob/main/_layouts/about.liquid&quot;&gt;about&lt;/a&gt;, and this layout uses the values in the frontmatter to render the page.&lt;/p&gt;

&lt;p&gt;For example, the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;subtitle&lt;/code&gt; key in the english page has the value &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;subtitle: &amp;lt;a href=&apos;#&apos;&amp;gt;Affiliations&amp;lt;/a&amp;gt;. Address. Contacts. Moto. Etc.&lt;/code&gt; and in the brazilian portuguese page it has &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;subtitle: &amp;lt;a href=&apos;#&apos;&amp;gt;Afiliações&amp;lt;/a&amp;gt;. Endereço. Contatos. Lema. Etc.&lt;/code&gt;. To use this information in the layout, it is used like this:&lt;/p&gt;

&lt;div class=&quot;language-liquid highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;cp&quot;&gt;{{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;page&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;subtitle&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;}}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The same goes for the content below the frontmatter in both files, which is simply used in the layout like this:&lt;/p&gt;

&lt;div class=&quot;language-liquid highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;cp&quot;&gt;{{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;content&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;}}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Polyglot will automatically render the page with the correct values for the current language.&lt;/p&gt;

&lt;h2 id=&quot;sharing-a-layout-between-pages-with-localized-data&quot;&gt;Sharing a layout between pages with localized data&lt;/h2&gt;

&lt;p&gt;For the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;subtitle&lt;/code&gt; of the page they used &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;key: value&lt;/code&gt; pairs in the frontmatter, but sometimes we want to use these same pairs in different parts of the site. For example, if we want to use the same &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;subtitle&lt;/code&gt; in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;about.md&lt;/code&gt; and in another page, we would have to repeat the same pair in the frontmatter of both pages. This is not ideal because if we want to change the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;subtitle&lt;/code&gt; we would have to change it in two places. This is where localized data comes in. You can create a file like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_data/:lang/strings.yml&lt;/code&gt;, one for each language, and Polyglot will bring those keys under &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;site.data[:lang].strings&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;For example, in the template site there are two files, &lt;a href=&quot;https://github.com/george-gca/multi-language-al-folio/blob/main/_data/en-us/strings.yml&quot;&gt;_data/en-us/strings.yml&lt;/a&gt; and &lt;a href=&quot;https://github.com/george-gca/multi-language-al-folio/blob/main/_data/pt-br/strings.yml&quot;&gt;_data/pt-br/strings.yml&lt;/a&gt;. In the first file they have:&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;na&quot;&gt;latest_posts&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;latest posts&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;And in the second file they have:&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;na&quot;&gt;latest_posts&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;últimas postagens&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This way, they can use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;latest_posts&lt;/code&gt; key in the layout like this:&lt;/p&gt;

&lt;div class=&quot;language-liquid highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;cp&quot;&gt;{{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;site&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;site&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;active_lang&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;].&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;strings&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;latest_posts&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;}}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Which will correctly get the value for the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;latest_posts&lt;/code&gt; variable defined in the file &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_data/:lang/strings.yml&lt;/code&gt; for the current language.&lt;/p&gt;

&lt;h2 id=&quot;defining-which-variable-to-use-in-the-frontmatter&quot;&gt;Defining which variable to use in the frontmatter&lt;/h2&gt;

&lt;p&gt;Now if you want to define this variable in the frontmatter of the page, this gets a little bit trickier. One possible solution is to check if the value of the variable has a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.&lt;/code&gt; in it, and if it does use the value in the file &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_data/:lang/strings.yml&lt;/code&gt;. This is how you would do it:&lt;/p&gt;

&lt;div class=&quot;language-liquid highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;frontmatter_var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ow&quot;&gt;contains&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;.&apos;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;
  &lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;assign&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;first_part&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;frontmatter_var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;.&apos;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;first&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;
  &lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;assign&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;last_part&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;frontmatter_var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;.&apos;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;last&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;
  &lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;capture&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}{{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;site&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;site&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;active_lang&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;].&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;strings&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;first_part&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;][&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;last_part&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;}}{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;endcapture&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;
&lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;endif&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;

&lt;span class=&quot;cp&quot;&gt;{{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;}}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will work, for example, if &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;frontmatter_var = blog.title&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Now, if you need to check if the localization string (in this case &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;blog.title&lt;/code&gt;) actually exists in the file &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_data/:lang/strings.yml&lt;/code&gt; before using it, you’ll have to create a plugin to check if the variable exists in the file &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_data/:lang/strings.yml&lt;/code&gt; and if it does, use it, otherwise fallback to any value you want. I will not go into detail on how to do this, but I will show you how to use it. You can see the code for the plugin &lt;a href=&quot;https://github.com/george-gca/multi-language-al-folio/blob/main/_plugins/localization-exists.rb&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;div class=&quot;language-liquid highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;frontmatter_var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ow&quot;&gt;contains&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;.&apos;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;
  &lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;capture&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;contains_localization&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;localization_exists&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;{{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;frontmatter_var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;}}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;endcapture&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;
  &lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;contains_localization&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;true&apos;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;
    &lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;assign&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;first_part&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;frontmatter_var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;.&apos;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;first&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;
    &lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;assign&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;last_part&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;frontmatter_var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;.&apos;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;last&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;
    &lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;capture&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}{{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;site&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;site&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;active_lang&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;].&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;strings&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;first_part&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;][&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;last_part&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;}}{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;endcapture&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;
  &lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;
    &lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;capture&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;fallback value&lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;endcapture&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;
  &lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;endif&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;
&lt;span class=&quot;cp&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;endif&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;%}&lt;/span&gt;

&lt;span class=&quot;cp&quot;&gt;{{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;cp&quot;&gt;}}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content>
    <summary type="html">Polyglot allows you to have different pages for different languages in your Jekyll site. For example, one could have a page about.md in English and another about.md in Spanish with completely different layouts. But if you want to have the same layout for both pages, you can use localized variables. This is a way to have different data for different languages in your Jekyll site, but using the same layout for all languages.</summary>
  </entry>
  
  <entry>
    <title type="html">Polyglot 1.7.0 and page_id front-matter for different permalinks by language</title>
    <link href="https://polyglot.untra.io/ko/2023/10/29/polyglot-1.7.0/" rel="alternate" type="text/html" title="Polyglot 1.7.0 and page_id front-matter for different permalinks by language"/>
    <published>2023-10-29T00:00:00-06:00</published>
    <updated>2023-10-29T00:00:00-06:00</updated>
    <id>https://polyglot.untra.io/2023/10/29/polyglot-1.7.0</id>
    <content type="html" xml:base="https://polyglot.untra.io/2023/10/29/polyglot-1.7.0/">&lt;p&gt;I’m excited to announce Jekyll-Polyglot 1.7.0, which has a new feature to give pages language specific permalinks and to retain their association to other relative pages.&lt;/p&gt;

&lt;p&gt;This new feature is provided by &lt;strong&gt;&lt;a href=&quot;https://github.com/antoniovazquezblanco&quot;&gt;antoniovazquezblanco&lt;/a&gt;&lt;/strong&gt;, who is a gentleman and a scholar.&lt;/p&gt;

&lt;h2 id=&quot;use-page_id-frontmatter-to-associate-pages-with-different-permalinks&quot;&gt;use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;page_id&lt;/code&gt; frontmatter to associate pages with different permalinks&lt;/h2&gt;

&lt;p&gt;Polyglot associates pages by matching their permalinks or filenames.
However some site translations may instead desire pages with unique permalinks.&lt;/p&gt;

&lt;p&gt;Polyglot already coordinates multiple copes of the same document across different languages. So keying off of a different property like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;page_id&lt;/code&gt; is no different than keying off of the permalink.&lt;/p&gt;

&lt;p&gt;Using a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;page_id&lt;/code&gt; to coordinate similar pages with different permalinks ensures that custom permalinks can still be seen on language specific sites.&lt;/p&gt;

&lt;h3 id=&quot;redirects-for-unique-permalinks&quot;&gt;redirects for unique permalinks&lt;/h3&gt;

&lt;p&gt;The challenge with unique permalinks comes with relativizing those urls. Polyglot avoids this problem entirely by suggesting consistent permalinks.&lt;/p&gt;

&lt;p&gt;To help with this, polyglot sets &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;redirect_from&lt;/code&gt; hidden frontmatter on these pages, listing the unique permalinks of corresponding pages.&lt;/p&gt;

&lt;p&gt;When using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;jekyll-redirect-from&lt;/code&gt; plugin, that frontmatter will be picked up, and intelligent redirects made to the page’s custom permalink.&lt;/p&gt;

&lt;p&gt;To see this in action, visit &lt;a href=&quot;/a-really-long/permalink/&quot;&gt;this page with a long permalink in different languages&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;other-bug-fixes&quot;&gt;Other bug fixes&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;This release should have a fix for &lt;a href=&quot;https://github.com/untra/polyglot/issues/151&quot;&gt;#151&lt;/a&gt; and &lt;a href=&quot;https://github.com/untra/polyglot/issues/184&quot;&gt;#184&lt;/a&gt;, preventing crashes on startup when calling other jekyll commands.&lt;/li&gt;
&lt;/ul&gt;</content>
    <summary type="html">I’m excited to announce Jekyll-Polyglot 1.7.0, which has a new feature to give pages language specific permalinks and to retain their association to other relative pages.</summary>
  </entry>
  
</feed>
