Polyglot 1.3.2 · Polyglot
Description: 一款为 Jekyll 提供 i18n 多语言功能的插件，方便快捷，适用于各类大小博客
Keywords: 多语言, i18n, 杰基尔, 多语种, 快速, 直观, untra, 깃허브, 页面, 博客, 插件, 卢比, gem, 国际化, 本地化, 翻译, 语言, 支持, 多语言, 多语言

# 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.8.1 - 指令改进 18 Jan 2025

- ### Polyglot 1.8.1 - 社区 Bug 修复发布 18 Aug 2024

- ### Polyglot 1.8.0 - 社区贡献发布 17 Mar 2024