Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message when translating records as editor #10

Open
spoonerWeb opened this issue Mar 5, 2020 · 1 comment
Open

Error message when translating records as editor #10

spoonerWeb opened this issue Mar 5, 2020 · 1 comment

Comments

@spoonerWeb
Copy link

When translating records as editor with DeepL support, the error message "Attempt to modify table 'localization' without permission!" appears.

The translation is working but the error message gives a wrong feedback to the editors.

Problem is that the DeepL config is set in $cmd['localization'].... The first part of the $cmd array is used for table names. As "localization" is no table, the error appears.
IMHO it would be better to respect the structure of the cmdmap and put the information maybe on the command level, see: https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/Typo3CoreEngine/Database/Index.html#commands-array

@rickymathewkweb
Copy link

@spoonerWeb

We at https://github.com/web-vision has currently forked this extension. Fixed this issue here https://github.com/web-vision/wv_deepltranslate. Feel free to check it out as composer package https://packagist.org/packages/web-vision/wv_deepltranslate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants