Can't use i18n and get plugin in different locale
After using the plugin in a Cakephp 3.8 app, I realized that you cannot use bin\cake i18n extract to get the plugin in your app locale.
It would be nice to be able to use this tool as for cake core.
I don't entirely understand what commands you're running and what you're expecting the results to be. Could you provide the commands you were running?
I would like to run bin/cake i18n extract on Authorization plugin to translate the thrown exceptions.
I use cakephp as an api and return the thrown exceptions. It would be nice if they were translated.
Which exception messages you think should be translatable?
Most exceptions are helpers for developers about invalid app code (invalid data types, classes, configuration) and are not intended to be displayed to end user.
I understand that exception are a way to help developers but my request is mainly for this exception message :
https://github.com/cakephp/authorization/blob/3e9a171082855b6bae4c12cc88f63514b9645102/src/Exception/ForbiddenException.php#L32
I know that there is the Exception::result that can be used, but it means adapting the exception renderer on the client side of the api, which is not ideal.
This issue is stale because it has been open for 120 days with no activity. Remove the stale label or comment or this will be closed in 15 days