How to disable translations in custom modules?

  • Hi, I am creating a module PageAttributes to add attributes to pages.

    For now I don't need translations. The docs mentioned that the "...Translation entity and the migrations for the translations" can be removed. However, when I try to update a page I am getting the error Class 'Modules\PageAttributes\Entities\PageAttributesTranslation' not found.

    Am I meant to disable translations for my module somewhere?


  • Just comment out use Translatable in the entity ;)

Log in to reply

Looks like your connection to AsgardCms was lost, please wait while we try to reconnect.