Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translation:update command not generating/updating ICU variant #36459

Closed
timosmit opened this issue Apr 15, 2020 · 3 comments
Closed

translation:update command not generating/updating ICU variant #36459

timosmit opened this issue Apr 15, 2020 · 3 comments

Comments

@timosmit
Copy link

Symfony version(s) affected: 5.0.3 - 5.0.7

Description
As per my comment on #34713:

Even though I have the PHP intl extension installed, the command refuses to output the messages in the ICU format.

How to reproduce
Using the tools listed below, start a project and add translation keys (e.g. in a form or directly in a template) and run the translation:update command.

Additional context
Here's what I'm currently using:

  • Windows 10
  • PHP 7.4.2
  • symfony/intl 5.0.7
  • symfony/translation 5.0.7
@artemoliynyk
Copy link
Contributor

Hi!
I have similar issue on Symfony 5.0.7.

Command translation:update generates file with +intl-icu on new locale, but won't update existing location.
Instead of updating existing +intl-icu file - command create new file, without +intl-icu suffix.

@timosmit can you please confirm same behaviour?

My versions:

  • PHP 7.2 (mac)
  • symfony/intl 5.0.7
  • symfony/translation 5.0.7

@timosmit
Copy link
Author

@artemoliynyk I can confirm this.

@artemoliynyk
Copy link
Contributor

Proposed fix #36505

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants