Message of the day:
For discussing issues and getting help with translation modules (Fluent, Translatable etc.)
Discussing translations modules and problems (Fluent etc)
@natino45 has joined the channel
Anyone can help me?
I'm wondering if you apply the locale-based filtering to
SiteTree whether that will do what you want
@aljosab Did you see this section in the docs? https://github.com/tractorcow/silverstripe-fluent/blob/master/docs/en/configuration.md#locale-based-filter-configuration
Hi! I hope someone can help me with the translation of a template in SS4. I have installed Fluent and I have create a HomePage where there is a <%t canestrinilex\Template\HomePage.EMERGENZA "Emergenza" %>. In mysite/_config/lang I have created a en.yml file with this content: en: canestrinilex\Template\HomePage: EMERGENZA: 'Emergency'
but it seems not to translate from Italian when I visit the english version. Any idea?
@Pier has joined the channel
of course you need some onBeforeWrite magic or filtering to readonly when the site is already published in that locale