vargvinter - 5 months ago


@ryanthompson How to handle translatable files? Is it possible out od the box?

dominique - 4 months ago

This is currently not possible, there has been an open issue about it for awhile, which labeled as feature instead of bug for some reason:

A possible, but not so pretty, temporary fix would be this:

<img src="{{ attribute(page, 'image_'~ config('app.locale')).viewPath }}">

If the current locale is english it'll look for the variable


if it's dutch it'll look for


That way you can create a separate image field for each language.

vargvinter - 4 months ago

@dominique Thank you for your response. Of course this works but it is not very pretty. Maybe you know any custom filed type which handles this problem?