How to generate translation for this line:

$this->l('Send an email to the supplier when his/her order status has changed.')

This string I need to convert into the other language. In translations folder I see a lines like this:

$_LANGADM['AdminStatusesa8f92721e361eceb4489636d29f56c21'] = '(text on other language)';

So how I can do this?

$_LANGADM['AdminStatuses********************************']

Following this documentation,

The identification key is built by combining the name of the controller from which the original string comes and the MD5 hash of the string itself.

But where I can add a translation?

[upd] Well, I did this manually, right in the translations file:

$_LANGADM['AdminStatuses'.md5('Send an email to the supplier when his/her order status has changed.')] = '{this message on other language}';

Strange that I can't do this somewhere in back-office or translations management.

有帮助吗?

解决方案

In the "Localization > Translations" area you can choose your language from a list.

Screenshot

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top