Bug #35744
closed
React-intl components are not translated
Added by Maria Agaphontzev about 2 years ago.
Updated about 2 years ago.
Category:
Internationalization
|
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.
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/9508 added
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.
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.
- 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.
- Fixed in Releases 3.6.0 added
- Status changed from Ready For Testing to Closed
- Pull request https://github.com/theforeman/foreman/pull/9552 added
- Fixed in Releases 3.5.0 added
- Target version changed from 3.4.1 to 3.4.2
- Triaged changed from No to Yes
- Fixed in Releases deleted (
3.6.0)
Also available in: Atom
PDF