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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
New Features won't be decided until next release.