Bug #35744
React-intl components are not translated
Description
Every component that uses react-intl (mostly dates and relative times) doesnt get translated, for example: Last login time data in users table, boot time in host details, details, Operating system card.
Error:
[React Intl] Missing locale data for locale: "ru". Using default locale: "en" as fallback.
Associated revisions
History
#1
Updated by The Foreman Bot 3 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/9508 added
#2
Updated by Ewoud Kohl van Wijngaarden 3 months ago
It helps me to determine cherry picks if you set Found in Releases. Looking a the PR I think this has been there for a while. Alternatively, if you can point to a specific commit that introduced it I also often use Fixes: COMMIT (see 36f2892adfa19b84fbb52d1fb017e10922075f97 for an example). Then it's also easy to see with git tag --contains COMMIT in which release it was introduced.
#3
Updated by Maria Agaphontzev 3 months ago
I dont know how long do react dates have not been working (or if they were ever working) but I checked and it wasn't working in 2.1, and specifically the date in the users table was replaced from ruby to react in 2.5 and stopped working there.
#4
Updated by Ewoud Kohl van Wijngaarden 3 months ago
- Target version set to 3.4.1
Well, that does help since it effectively means all supported releases. I'm planning to release 3.4.1 next week so I'll probably wait for this.
#5
Updated by The Foreman Bot about 2 months ago
- Fixed in Releases 3.6.0 added
#6
Updated by Maria Agaphontzev about 2 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|16f370ccc20427a4b9895570be1ee082c87c7ffd.
#7
Updated by The Foreman Bot about 2 months ago
- Pull request https://github.com/theforeman/foreman/pull/9552 added
#8
Updated by The Foreman Bot about 2 months ago
- Fixed in Releases 3.5.0 added
#9
Updated by Ewoud Kohl van Wijngaarden about 2 months ago
- Triaged changed from No to Yes
- Target version changed from 3.4.1 to 3.4.2
- Fixed in Releases deleted (
3.6.0)
Fixes #35744 - Date components are not translated