Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.0.0, 2.5.8
-
None
Description
Summary
If I translated any Content Type to an arbitrary language, I would expect in its Content create and edit forms the Field Definition name labels to be translated according to current user preferred language. This behavior works for editing ordinary Content items. However it does not for a user account which leads to its labels for "First name", "Last name", etc. beeing displayed using fallback language. I've attached a screenshot done for pol-PL admin to visualize the issue
Steps to reproduce:
- Create eZ Platform instance with at least two languages.
- Set admin or admin_group SiteAccess languages list to start with the second language, but keep eng-GB as a fallback.
- Translate User Content Type to the second language.
- Confirm that your current user preferred language (go to user preferences using top right menu) is set to your second language (language code is a little bit different, so for e.g. "pol-PL" we'll have "pl").
- Create a new user using the second language. Observe that the labels for content-related User CT fields were loaded in English.
- Edit created user, observe the same.
- Edit existing user, observe the same (NOTE: this point might be difficult to reproduce due to EZP-30855, form is the same, so can be skipped).
Expected behavior
The Field Definition labels from the points 5, 6, and 7 should be loaded according to the current user's preferred language (could either be based on SiteAccess prioritized languages list or browser preferences, so please double check what the user preference page says). The expected behavior is visible when editing other Content Types (the issue was fixed for them earlier).
Attachments
Issue Links
- relates to
-
EZP-30855 User is unable to add translation for content item with ezuser
- Confirmed