Closed Bug 1334847 Opened 8 years ago Closed 8 years ago

API v2 user page requests switch randomly between locales

Categories

(Participation Infrastructure :: Phonebook, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: flaki, Unassigned)

References

()

Details

Attachments

(1 file)

The profile URL-s that are returned in the '_url' field of any API v2 listing return using a seemingly random/unpredictable locale, which affects some URL-s (like public profile URL-s), but also more importantly, they affect labels in the privacy attribute, turning them for example "Iepenbier" in the "fy-NL" locale, or chinese versions in the zh-CN locale. This seemingly random behavior makes machine processing of these returned API results difficult, if not impossible - I have also not been able to find a URL parameter that would lock the API into a specific locale. I have attached a sample response in Ukrainian(?) locale to illustrate the issue.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: