jmo
jmo

Reputation: 101

Flashes Translation / Sylius Locale

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):

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.

Upvotes: 0

Views: 373

Answers (1)

CoderMaggie
CoderMaggie

Reputation: 248

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

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

Upvotes: 0

Related Questions