I try to use this: https://book.cakephp.org/3.0/en/core-libraries/internationalization-and-localization.html But I think this code is not enough for working fine:
use Cake\I18n\I18n;
//Prior to 3.5 use I18n::locale()
I18n::setLocale('de_DE');
What another code should I add to the controller to work fine?