Skip to content

Use Symfony/Translation and use the .po files directly in the repo and app

The goal is to make i18n easier, mostly by removing tools :D

  • Require Symfony/Translation;
  • Reimplement the __() and __f() functions using it;
  • Get rid of all the json-related files and tooling;
  • Remove the o80/i18n dependency;
  • Remove the i18n-related tasks in CI: there are less issues if we don’t convert to json;
  • Include the .po files in the repository;
  • Additionally, include the Hungarian (Magyar) translation.

Next steps include:

  • Changing the msgid for keys instead of “Section.english text”
  • Removing the “section” param everywhere in the code.
Edited by Nicolas Bouilleaud

Merge request reports