I’ve created a custom model named “Post”. It has some fields: a title and a content. How to make these fields translatable?
More detailed question:
The Magento 2 way to translate products / categories is the following : from the back-office, in a product / category edit page, you have to switch from your default language store view to a localized store view (for example: French Store View to English Store View), then edit the fields you want to translate, then save your product.
How to reproduce this behavior on my custom model?