Opened 18 years ago
Closed 18 years ago
#4088 closed defect (bug) (wontfix)
XML output (rss, atom, rdf ...) should translate the (more) link
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | minor | Version: | 2.2 |
Component: | General | Keywords: | rss |
Focuses: | Cc: |
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
@
18 years ago
maybe doing something like :
if ($more_link_text == '(more...)') $more_link_text = __('(more...)');
#4
@
18 years ago
- Resolution set to wontfix
- Status changed from new to 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.
It's hardcoded in get_the_content(), to be specific. I'm not sure how we would go about this...