Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#8312 closed enhancement (duplicate)

allow plugin developers to translate 'paged' permalinks to fit specific language

Reported by: misieg772's profile misieg772 Owned by: ryan's profile ryan
Milestone: Priority: normal
Severity: normal Version:
Component: Permalinks Keywords: permalink translation
Focuses: Cc:

Description

Hello,

its great we can customize category base, feed base and author base inside $wp_rewrite. it would be great if we could also customize paged urls to fit specific language so for example:

somedomain.com/page/2/ 
somedomain.com/category/uncategorized/page/2/

would become something like this for spanish blog:

somedomain.com/pagina/2/ 
somedomain.com/category/uncategorized/pagina/2/

i did it locally, basically all you need to do is to replace all occurencies of 'page' string with some constant or variable inside following files:

wp-includes/link-template.php
wp-includes/rewrite.php
wp-includes/canonical.php

i know it is rather 'low-priority' thing but those small things make WP shine
in power-user hands and it also greatly improves WP translation capabilities

regards,
grzegorz

Change History (3)

#1 @jacobsantos
15 years ago

  • Milestone changed from 2.7 to 2.8

New Features won't be decided until next release.

#2 @westi
15 years ago

  • Cc westi added

Brilliant idea.

#3 @DD32
15 years ago

  • Milestone 2.8 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

See #1762 (permalinks structure not i18n friendly)

Note: See TracTickets for help on using tickets.