Localize the conversation editor configuration

- fixed the localization-related strings
- adopted PSR-2 standards
- switched to the new DB functions