Polyglot 1.3.2 · Polyglot

# Polyglot 1.3.2

29 Apr 2020

Polyglot 1.3.2 版本 现已推出！去试试吧！

    gem install jekyll-polyglot

本次发布得益于以下 GitHub 用户的支持：

- 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.

### 相对和绝对 url 的相对化逻辑优化

`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.

## Related Posts

- ### Polyglot 1.7.0 and `page_id` front-matter for different permalinks by language 29 Oct 2023

- ### Polyglot 1.6.0 以及简体中文支持 08 Jun 2023

- ### Polyglot 网站朝鲜语支持上线 27 Feb 2023