UI-based translations

Zikula 3 introduces two new abilities for creating and changing translations.

Edit in place functionality

Allows to edit translations directly in the context of a page (demo).

Edit in place has some limitations you should be aware of:

  • It always works for the current locale only; so in order to update translation for multiple languages you need to switch your site's language.
  • It can only work with one single configuration. By default this is set to zikula, so it works for the core. If you want to use it for a bundle, you need to create a corresponding configuration in /config/packages/php_translation.yaml and put it's name into /config/packages/dev/php_translation.yaml at translation.edit_in_place.config_name.

You can utilise HTML formatting options when your translation keys end with the .html suffix (screenshot).

Web UI: provides a web interface to add, edit and remove translations

It features a dashboard page (screenshot) for the overall progress. When you dive into a translation domain you can use a form to change the translation messages (screenshot).

The web UI is able to handle multiple configurations and target languages.