kurtsson / jekyll-multiple-languages-plugin

I18n support for Jekyll and Octopress
MIT License
925 stars 202 forks source link

Incremental build doesn't pick up translation changes #77

Closed jinnatar closed 5 years ago

jinnatar commented 8 years ago

Changing a translation file, e.g. _i18n/en.yml correctly triggers an incremental build but the build doesn't pick up the changed translation. No amount of translation changes will make it to the build until a full build is done.

The verbose log of the incremental build does display this: "Loading translation from file /home/artanicus/project/_i18n/fi.yml" But as far as I can see that updated data doesn't end up on the site.

wouter-muller commented 5 years ago

I have the same issue...

kevinleguillou commented 5 years ago

I created a pull-request for this (https://github.com/kurtsson/jekyll-multiple-languages-plugin/pull/141), the files are only loaded once on the PreRender hook.

You can clone my fork if you want in the meantime.

shushugah commented 5 years ago

This is now fixed, thanks to PR #141