[wp-meta] [Making WordPress.org] #3507: Allow pre-defined page slug translations
Making WordPress.org
noreply at wordpress.org
Mon Mar 12 01:23:11 UTC 2018
#3507: Allow pre-defined page slug translations
-------------------------------------------+-----------------
Reporter: dd32 | Owner:
Type: task | Status: new
Priority: normal | Milestone:
Component: International Sites (Rosetta) | Keywords:
-------------------------------------------+-----------------
As a spin off of #3046 it'd be great if we can allow rosetta sites to
translate page slugs.
For example, currently we've got `/plugins/` and `/themes/` (both are
actual sites though, not pages) and we're about to add `/about/*` (Which
are pages), these english slugs are not very welcoming when everything
else on the site is translated.
The translation should occur through translate.wordpress.org, I'd suggest
something like `_x( 'about', 'Page Slug' );` or something along those
lines.
Combine that with a cron-job which pulls from GlotPress and pushes changes
to rosetta sites, a `site_url` filter to change the english versions to
the translated ones, and some code to remember old page slugs.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3507>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list