I noticed that the site.translations docs as written throw a type error with bundle exec jekyll serve.
I think it's because {% for item in site.translations[site.lang]["my_nested_yaml_collection"] %} needs to be {% for item in site.translations[site.lang].my_nested_yaml_collection %}
I noticed that the
site.translations
docs as written throw a type error withbundle exec jekyll serve
.I think it's because
{% for item in site.translations[site.lang]["my_nested_yaml_collection"] %}
needs to be{% for item in site.translations[site.lang].my_nested_yaml_collection %}
I made the change, then added the example mentioned in https://github.com/kurtsson/jekyll-multiple-languages-plugin/issues/66#issuecomment-228619301, which also works (thanks @Anthony-Gaudino).