Opened 19 years ago
Closed 19 years ago
#4088 closed defect (bug) (wontfix)
XML output (rss, atom, rdf ...) should translate the (more) link
| Reported by: | devil1591 | Owned by: | rob1n |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | General | Version: | 2.2 |
| Severity: | minor | Keywords: | rss |
| Cc: | Focuses: |
Description
In the XML output like rss, atom, the (more) link is not translated.
This is hardcoded in wp-include/feed.php
function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0)
Change History (6)
#2
@
19 years ago
maybe doing something like :
if ($more_link_text == '(more...)')
$more_link_text = __('(more...)');
#4
@
19 years ago
- Resolution → wontfix
- Status new → closed
Usually in the occasion of optional parameters we leave the i18n for the caller.
So, if somebody wants it translated, one should call it this way: the_content_rss(__('(more...)')...).
The call to the_content_rss should be tracked in the source and the patch should be applied there.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
It's hardcoded in get_the_content(), to be specific. I'm not sure how we would go about this...