| 1 | --- |
| 2 | layout: post |
| 3 | title: Polyglot 1.6.0 and Simplified Chinese language support |
| 4 | lang: en |
| 5 | --- |
| 6 | |
| 7 | The [Polyglot website](https://polyglot.untra.io/zh-CN/) has been updated with support for Chinese! |
| 8 | |
| 9 | This is made possible by **[aturret](https://github.com/aturret)**, who contributed numerous bugfixes to the plugin, the website, and an entirely new site translation. |
| 10 | |
| 11 | Additionally, [jekyll-polyglot 1.6.0](https://rubygems.org/gems/jekyll-polyglot/versions/1.6.0) is now available from rubygems. |
| 12 | |
| 13 | ## Fix for relativization of frozen strings |
| 14 | |
| 15 | Polyglot used [String::gsub!](https://apidock.com/ruby/String/gsub!) which mutates a `.frozen?` string. This has now been fixed to duplicate the cloned string before modifying it. |
| 16 | |
| 17 | ## Fix for site navigation not being translated |
| 18 | |
| 19 | A typo in the html on the site layout prevented the previous page navigation from being translated correctly. |
| 20 | |
| 21 | ## Support for Chinese Language |
| 22 | |
| 23 | With a big 谢谢 of support and appreciation to **aturret**, [polyglot.untra.io](https://polyglot.untra.io/zh-CN) now supports a `zh-CN` Simplified Chinese translation! |