Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#8312 closed enhancement (duplicate)

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

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

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
18 years ago

  • Milestone 2.72.8

New Features won't be decided until next release.

#2 @westi
18 years ago

  • Cc westi added

Brilliant idea.

#3 @DD32
18 years ago

  • Milestone 2.8
  • Resolutionduplicate
  • Status newclosed

See #1762 (permalinks structure not i18n friendly)

Note: See TracTickets for help on using tickets.