Waffel 0.1.2
It is possible to use loc()as a filter, useful when chaining filters on array/collections, e.g.:
{% for posts in data.posts | toArray | loc(page.language) | where({ 'published' : true }) %}
# here you have the localised, filtered post
{% endfor %}
Notice: you have to explicitly pass the language to the filter.