WordPress / WordPress/pattern-directory
Pattern API: Return localized category names
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 134
- Forks
- 46
- Avg merge
- 9h 4m
- Merged PRs (30d)
- 19
Description
When loading patterns via the API, the patterns can be returned in the users's locale by passing a "locale" parameter. This does not work when trying to list categories — the http://api.wordpress.org/patterns/1.0/?categories endpoint always returns English names.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the handler for the http://api.wordpress.org/patterns/1.0/?categories endpoint and compare its locale handling with the pattern-list response. Request the categories endpoint with a locale parameter and verify that category names are returned in that locale rather than always in English.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api, localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100