Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 600 Bytes

translation.md

File metadata and controls

31 lines (22 loc) · 600 Bytes

Translation

To translate website install component:

composer require translation

Translation steps

  1. Edit template templates/base.html.twig:
{{ 'Conference Guestbook'|trans }}
  1. Create / update translation file:
symfony console translation:update ru --force --domain=messages

This command will create translations/messages+intl-icu.ru.xlf.

  1. Edit this file:
<trans-unit id="eOy4.6V" resname="Conference Guestbook">
  <source>Conference Guestbook</source>
  <target>Гостевая книга конференций</target>
</trans-unit>