Opened 5 years ago

Closed 4 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: westi

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)

  • Milestone changed from 2.7 to 2.8

New Features won't be decided until next release.

  • Cc westi added

Brilliant idea.

comment:3   DD324 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.