Polyglot · Straightforward I18n for Jekyll Blogs

# Polyglot 1.5.0

17 Jul 2021

Polyglot Release for version version 1.5.0, with new support for staggered builds by logical cpus.

## Faster Staggered Builds

This release modifies polyglot to start builds only after it confirms there is a cpu core ready to receive the build thread. This makes jekyll site builds run much faster on machines building more languages than with logical cpus ready to process the builds, preventing machine thrash and streamlining builds for large sites.

## Misc Updates

- Added Links to the github source code on every page on the site from the sidebar.
- Updated repo readme with new details about logical cpu usage.
- Polyglot continuous integration now provided by CircleCI.
- Github user musicmichaelc created a jekyll theme with updates for use with polyglot multilingual support.

## Thanks

This release was made possible with the support of the following github users!

- obfusk
- eighthave
- musicmichaelc

## Want to help?

Has Polyglot helped your website expand into new territories and markets? Do you have a suggestion, contribution or bugfix you’d like to provide? Want to see this website translated into your native language?

Drop me a line, open a issues or make a PR! All support and contributions are greatly appreciated.

# Polyglot 1.4.1

18 Apr 2021

Bonus patch release of Polyglot version 1.4.1 is out!

## small fix for i18n_headers

Fallout from cleanup led to a small fix and some tests

## say Привет to our russian friends

Russian language site pages have been added!

## Want to see your language featured?

I am looking for any volunteers that would like to see the Jekyll-Polyglot homepage represented in your language of origin! If you find this software helpful and want to see your language represented, just reach out on the github issues.

# Polyglot 1.4.0

07 Feb 2021

Polyglot version 1.4.0 is out!

    gem install jekyll-polyglot

## static unrelativized `href`

This release provides a new liquid block tag {% static_href %}href=”…”{% endstatic_href %} which can be used to create href attributes in anchor tags that are not relativized by Polyglot.

Jekyll-Polyglot is fairly greedy and naive in it’s relativization, and so if you want a url that is explicitly static (such as for making a language switcher, hint hint), this liquid tag will help you construct that unmangled href=”…” tag in anchor elements.

## Exclusive site language generation

Polyglot 1.4.0 adds support for `lang-exclusive: [ ]` frontmatter in documents. If added to a document, this frontmatter will limit generation of the document to that specific language.

    ---
    lang-exclusive: ['en']
    ---

This is a way to control which languages may see a document, even if that document may not have an equivalent in the default language site.

## Renaming a few liquid tags

The {% static_href %} tag is also available as {% Static_Href %} , and the existing {% I18n_Headers %} tag now can be called as {% i18n_headers %}

## Want to see your language featured?

I am looking for any volunteers that would like to see the Jekyll-Polyglot homepage represented in your language of origin! If you find this software helpful and want to see your language represented, just reach out on the github issues.

# Polyglot 1.3.3

19 Jul 2020

Polyglot version 1.3.3 is out! It includes a minor fix for when running `jekyll serve --incremental` with polyglot installed on a fresh build.

    gem install jekyll-polyglot

This release was made possible with the support of the following github user!

- alexanderadam

# Polyglot 1.3.2

29 Apr 2020

Polyglot version 1.3.2 has been released! Give it a try!

    gem install jekyll-polyglot

This release was made possible with the support of the following github user

- eighthave

### `lang_from_path` setting to derive document lang from relative path

This release adds a new boolean configuration setting `lang_from_path`. When set to true, this option tells polyglot to derive the base language from a matching subpath if the lang frontmatter is not set. This setting works well in conjunction with other translation maintenance tools such as po4a.

### relative and absolute url relativization improved logic

`excluded_from_localization` files will have trailing slashes added to their paths if they are directories. In addition, these files will be matched differently in the relativize and absolute url regex matchers. This will improve the accuracy of url relativization based on user feedback.

Older Newer