https://processwire.com/api/multi-language-support/code-i18n/
In the documentation about Code Internationalization the following is mentioned:
Translatable strings
In order to make a string translatable in your template or module code, you just have to wrap the original string in a $this->_() o...