0
votes

I created locale in sylius backoffice as en_GB for the english version (different with en_US if I had to use it); in flashes messages we only see in SyliusCoreBundle flashes.en.yml configuration. I guess there is no difference between english language and american one, however there is a big one.

First, I tried this:

Translation did not work using this method.

Then, I tried to require sylius/locale component from packagist according to my current symfony version (update sylius language component):

  • I tried to require the version v0.19.0 using command line composer require sylius/locale:v0.19.0
  • Composer always try to use the monolog ^3.0 version (even if I try to change the monolog version in composer.json)

Therefore, currently, I cannot override/use flashes configuration as explained in documentation, using the defined locale in sylius backoffice, and I cannot require the sylius/language component according to my current sylius/Symfony version (current used sylius version: "sylius/sylius": "^1.0@dev").

Do you know any fix to deal with flashes message translation ?

Thanks,

JMO.

1

1 Answers

0
votes

Did you enable the locale in the channel you are using?

BTW current Sylius version is beta-1, not 0.19.