Mattias Björklund

Results 4 comments of Mattias Björklund

Hi, we tested adding an initialValue callback to the document schema to get around this issue: ```javascript initialValue: () => ({ __i18n_lang: 'en-US', }) ``` Seems to work for our...

That's surprising to me. We're not getting a _lang field on the translated documents. For us the __i18n_lang field is set on both base and translation.

@SSylvain1989 on the document level

Those of post, author, category, blockContent that are of type `document` should have it set. Here's how we did it: ![image](https://user-images.githubusercontent.com/8516193/167448870-279ce691-8af4-4b2c-b421-dd7460b6a9a6.png) `i18_LANG_FIELD` is set to `__i18n_lang` and `i18_BASE_LANG` is set...