Automattic / Automattic/babble

Deal with post type slugs which are the same across multiple languages

Open
#60 1 comment 0 reactions 0 assignees View on GitHub
task
Dominant language
PHP
Stars
250
Forks
44
PR merge metrics
No merged PRs in 30d

Description

For example, if you have a post type called "media" and the languages on your site are English and French, the singular of "media" is the same in French and English. You therefore need the system to cope with these two URLs:

`http://example.com/en/media/asdffghj`
`http://example.com/fr/media/yrtweres`

Contributor guide

Open the contributing guide

Research direction

Start by tracing how WordPress requests are routed for post type slugs when the language prefix is en or fr. Reproduce the two example URLs and inspect how the language and post are selected. Done means both URLs resolve to their language-specific posts even though the post type slug is identical.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, localization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.