Skip to content

Conversation

@jrafanie
Copy link
Member

@jrafanie jrafanie commented Sep 9, 2025

Follow up to #23566

2.0.0 includes a bug fix we reported in:
https://www.github.com/webhippie/gettext_i18n_rails_js/issues/42
Compare: webhippie/gettext_i18n_rails_js@v1.4.0...v2.0.0

Note, this also pulls in a new po_to_json gem.

2.1.0 includes a lazy load parser fix from me, so I think that's safe to move to.
Compare: webhippie/gettext_i18n_rails_js@v2.0.0...v2.1.0

I ran it locally with 1.4.0 and and 2.1.0 and the json files are identical.

NOTE: bundle exec rake locale:update_all produces much different results with 1.4.0, 2.0.0, 2.1.0, and 2.2.0 versions so we'll need to handle both upgrades together.

See revert in #23584 and some issues found in #23583

2.0.0 includes a bug fix we reported in:
https://www.github.com/webhippie/gettext_i18n_rails_js/issues/42
Compare: webhippie/gettext_i18n_rails_js@v1.4.0...v2.0.0

Note, this also pulls in a new po_to_json gem.

2.1.0 includes a lazy load parser fix from me, so I think that's safe to move to
Compare: webhippie/gettext_i18n_rails_js@v2.0.0...v2.1.0

I ran it locally with 1.4.0 and and 2.1.0 and the json files are identical.
@Fryguy
Copy link
Member

Fryguy commented Sep 9, 2025

Reminder that we have a po to json patch in our patches (you don't think we ever upstreamed it but we should). Can you verify that patch still is correct?

https://github.com/ManageIQ/manageiq/blob/master/lib%2Ftasks%2Fpo_to_json_override.rb

@jrafanie
Copy link
Member Author

Reminder that we have a po to json patch in our patches (you don't think we ever upstreamed it but we should). Can you verify that patch still is correct?

https://github.com/ManageIQ/manageiq/blob/master/lib%2Ftasks%2Fpo_to_json_override.rb

Good point, marking as wip so I can verify the patch.

@jrafanie jrafanie changed the title Upgrade gettext_i18n_rails_js for escape fix and lazy loaded parser [WIP] Upgrade gettext_i18n_rails_js for escape fix and lazy loaded parser Sep 11, 2025
@Fryguy
Copy link
Member

Fryguy commented Sep 11, 2025

you don't think we ever upstreamed it but we should

Reading back I don't know why I wrote "you" I meant "I"

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants