Sebobo / Shel.Neos.WorkspaceModule

A workspace module alternative for Neos CMS
MIT License
17 stars 5 forks source link

Translations in showAction not found #8

Open Sebobo opened 2 years ago

Sebobo commented 2 years ago

Neos looks for them in the plugin instead of the original package.

crydotsnake commented 2 years ago

Hi @Sebobo !

Could you maybe tell me a little bit more about the problem? maybe i can help out here 😊

Sebobo commented 2 years ago

The translation calls in the original controller don't have their package defined. Therefore Flow searches for translations in the current Controllers Namespace. Which in this case is this plugin instead of the original Neos translation, which are fine and I would prefer to use them. Probably not hard to solve, but wasn't urgent for me.

crydotsnake commented 2 years ago

You mean this for example?:

https://github.com/Sebobo/Shel.Neos.WorkspaceModule/blob/90b82ef567b00e07f96bb6a7656a853cb6d3881f/Classes/Controller/WorkspacesController.php#L336-L337

I will take care of it! :)