Skip to content

Commit

Permalink
💎 1.3.0
Browse files Browse the repository at this point in the history
* initial changes in preparation for v1.3.0 release
* updated gemspec
* added blog announcement posts
* finished translating the titles
  • Loading branch information
untra authored Jul 23, 2017
1 parent 91f9621 commit 0684b07
Show file tree
Hide file tree
Showing 13 changed files with 120 additions and 13 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ end

Or install the gem manually by doing `gem install jekyll-polyglot` and specify the plugin using `_config.yml`:
```YAML
gems:
plugins:
- jekyll-polyglot
```
Expand Down Expand Up @@ -150,13 +150,11 @@ This plugin stands out from other I18n Jekyll plugins.
## SEO Recipes
Jekyll-polyglot has a few spectacular [Search Engine Optimization techniques](https://untra.github.io/polyglot/seo) to ensure your Jekyll blog gets the most out of it's multilingual audience. Check them out!

## Examples
Check out the example project website [here](https://untra.github.io/polyglot)
(Jekyll resources are on the project's [site](https://github.com/untra/polyglot/tree/master/site) directory)

### Other Websites Built with Polyglot
let us know if you make a multilingual blog you want to share:
* [Polyglot example project website](http://polyglot.untra.io)
* [LogRhythm Corporate Website](http://logrhythm.com)
* [All Over Earth](https://allover.earth/)

## Compatibility
Currently supports Jekyll 3.0 .
Expand Down
2 changes: 1 addition & 1 deletion jekyll-polyglot.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|
s.name = 'jekyll-polyglot'
s.version = '1.3.0'
s.date = '2017-06-26'
s.date = '2017-07-23'
s.summary = 'I18n plugin for Jekyll Blogs'
s.description = 'Fast open source i18n plugin for Jekyll blogs.'
s.authors = ['Samuel Volin']
Expand Down
2 changes: 1 addition & 1 deletion lib/jekyll/polyglot/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Jekyll
module Polyglot
VERSION="1.2.4"
VERSION = '1.3.0'.freeze
end
end
4 changes: 2 additions & 2 deletions site/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ hello:
fr: Bonjour!
de: Hallo!

gems: [jekyll-polyglot, jekyll-paginate]
plugins: [jekyll-polyglot, jekyll-paginate]
# Permalinks
permalink: pretty

Expand All @@ -47,7 +47,7 @@ url: https://polyglot.untra.io

paginate: 5
# Custom vars
version: 1.2.4
version: 1.3.0

github:
repo: https://github.com/untra/polyglot
Expand Down
27 changes: 27 additions & 0 deletions site/_posts/2017-7-23-Polyglot-1.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
layout: post
title: Polyglot 1.3.0
lang: en
---

A new version of Polyglot has been released! Give it a try!

{% highlight yaml %}
gem install jekyll-polyglot
{% endhighlight %}

This release was made possible with the support of the following github users:
* [vlsi](https://github.com/vlsi)
* [pserwylo](https://github.com/pserwylo)

### Recursively merge language specific `site.data`
Language specific content defined in your `site.data` directory will now be recursively merged together, so that `active_lang` content gets precedence over `default_lang` content, gets precedence over language non-specific content. ([#59](https://github.com/untra/polyglot/pull/59))

### Still build unassigned files to the `default_lang` site root
If the `default_lang` is not defined in the `languages`, this ensures that language unassigned files (such as those excluded from localization) are still written out to the site root. ([#65](https://github.com/untra/polyglot/pull/65))

### Performance improvements and fixes for `i18n_headers` tag
Document processing is now faster, and fixes were made to the i18n_headers for when the site.url is defined. ([#67](https://github.com/untra/polyglot/pull/67))

### Custom keys for `active_lang` site payload
This allows custom keys to be defined with the `active_lang`, giving interoperability between polyglot and other plugins and themes. ([#68](https://github.com/untra/polyglot/pull/68))
27 changes: 27 additions & 0 deletions site/_posts/de/2017-7-23-Polyglot-1.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
layout: post
title: Polyglot 1.3.0
lang: de
---

Eine neue Version von Polyglot wurde veröffentlicht! Versuche es!

{% highlight yaml %}
gem install jekyll-polyglot
{% endhighlight %}

Diese Freigabe wurde mit der Unterstützung der folgenden github Benutzer ermöglicht:
* [vlsi](https://github.com/vlsi)
* [pserwylo](https://github.com/pserwylo)

### Rekursiv verschmelzen sprachspezifisch `site.data`
Sprachspezifische Inhalte, die in Ihrem `site.data`-Verzeichnis definiert sind, werden nun rekursiv zusammengeführt, so dass `active_lang` inhalt bekommt Vorrang vor `default_lang` inhalt, bekommt Vorrang vor kein sprachinhalt. ([#59](https://github.com/untra/polyglot/pull/59))

### Baue nicht zugewiesene Dateien an `default_lang` standort root
Wenn das `default_lang` nicht in den `languages` definiert ist, stellt dies sicher, dass nicht zugewiesene Dateien (wie die von der Lokalisierung ausgeschlossenen) noch nicht auf den Standort root geschrieben werden. ([#65](https://github.com/untra/polyglot/pull/65))

### Leistungsverbesserungen und Korrekturen für `i18n_headers` tag
Die Dokumentenverarbeitung ist jetzt schneller und es wurden Korrekturen an der `i18n_headers` vorgenommen, wenn die Site.url definiert ist. ([#67](https://github.com/untra/polyglot/pull/67))

### Benutzerdefinierte tasten für `active_lang` site-nutzlast
Damit können benutzerdefinierte Schlüssel mit dem `active_lang` definiert werden, was die Interoperabilität zwischen polyglot und anderen Plugins und Themen ermöglicht. ([#68](https://github.com/untra/polyglot/pull/68))
27 changes: 27 additions & 0 deletions site/_posts/es/2017-7-23-Polyglot-1.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
layout: post
title: Polyglot 1.3.0
lang: es
---

¡Se ha lanzado una nueva versión de Polyglot! ¡Darle una oportunidad!

{% highlight yaml %}
gem install jekyll-polyglot
{% endhighlight %}

Esta versión fue posible gracias al soporte de los siguientes usuarios de github:
* [vlsi](https://github.com/vlsi)
* [pserwylo](https://github.com/pserwylo)

### Combinar recursivamente lenguaje específico `site.data`
El contenido específico del idioma definido en el directorio `site.data` ahora se fusionará recursivamente, de modo que `active_lang` contenido tiene prioridad sobre `default_lang` contenido, tiene prioridad sobre sin contenido de idioma. ([#59](https://github.com/untra/polyglot/pull/59))

### Archivos sin asignar a la `default_lang` raíz del sitio
Si `default_lang` no está definido en `languages`, esto garantiza que los archivos de idioma sin asignar (como aquellos excluidos de la localización) se escriban todavía en la raíz del sitio. ([#65](https://github.com/untra/polyglot/pull/65))

### Mejoras de rendimiento y correcciones para `i18n_headers` tag
El procesamiento de documentos es ahora más rápido y se realizaron correcciones en el `i18n_headers` cuando se define el site.url. ([#67](https://github.com/untra/polyglot/pull/67))

### Teclas personalizadas para `active_lang` carga del sitio
Esto permite que las claves personalizadas se definan con el `active_lang`, dando interoperabilidad entre polyglot y otros plugins y themes ([#68](https://github.com/untra/polyglot/pull/68))
27 changes: 27 additions & 0 deletions site/_posts/fr/2017-7-23-Polyglot-1.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
layout: post
title: Polyglot 1.3.0
lang: fr
---

Une nouvelle version de Polyglot a été lancée! Essaie!

{% highlight yaml %}
gem install jekyll-polyglot
{% endhighlight %}

Cette version a été rendue possible avec le soutien des utilisateurs suivants de github:
* [vlsi](https://github.com/vlsi)
* [pserwylo](https://github.com/pserwylo)

### Fusion récursive spécifique à la langue `site.data`
Le contenu spécifique au langage défini dans votre répertoire `site.data` sera désormais fusionné récursivement, de sorte que `active_lang` contenu obtient la priorité sur `default_lang` contenu, obtient la priorité sur aucun contenu de langue. ([#59](https://github.com/untra/polyglot/pull/59))

### Créez toujours des fichiers non affectés `default_lang` la racine du site
Si le `default_lang` n'est pas défini dans les `languages`, cela garantit que les fichiers non assignés aux langues (tels que ceux exclus de la localisation) sont toujours écrits sur la racine du site. ([#65](https://github.com/untra/polyglot/pull/65))

### Améliorations et corrections de performances pour `i18n_headers` tag
Le traitement des documents est maintenant plus rapide, et des correctifs ont été effectués sur `i18n_headers` pour quand le site.url est défini. ([#67](https://github.com/untra/polyglot/pull/67))

### Touches personnalisées pour `active_lang` charge du site
Cela permet de définir des clés personnalisées avec `active_lang`, ce qui donne une interopérabilité entre les polyglottes et d'autres plugins et thèmes. ([#68](https://github.com/untra/polyglot/pull/68))
2 changes: 1 addition & 1 deletion site/complex-permalink.de.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: page
title: A really long permalink
title: Eine wirklich lange permalink
permalink: a-really-long/permalink/
lang: de
---
Expand Down
2 changes: 1 addition & 1 deletion site/complex-permalink.es.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: page
title: A really long permalink
title: Un muy largo permalink
permalink: a-really-long/permalink/
lang: es
---
Expand Down
2 changes: 1 addition & 1 deletion site/complex-permalink.fr.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: page
title: A really long permalink
title: Un très long permalink
permalink: a-really-long/permalink/
lang: fr
---
Expand Down
2 changes: 1 addition & 1 deletion site/seo.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ You can get all of the above with a single tag added to your `header.html`:
{% endhighlight %}

Just add the permanent url for your website and all of the above SEO will be added to each page in your website.
In 1.2.4, you can leave it empty, just calling
In version >= 1.2.4, you can leave it empty, just calling
{% highlight html %}
{% raw %}
{% I18n_Headers %}
Expand Down
1 change: 1 addition & 0 deletions spec/tests/lib/jekyll/polyglot/hooks/coordinate_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require 'rspec/helper'
require 'ostruct'
require_relative '../../../../../../lib/jekyll/polyglot/hooks/coordinate'
# rubocop:disable BlockLength, LineLength
describe 'hook_coordinate' do
before do
@config = Jekyll::Configuration::DEFAULTS.dup
Expand Down

0 comments on commit 0684b07

Please sign in to comment.