Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2009-09-25 13:54:25
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,316
Re: [wiki] Adding new translation to article txp:hide
Els wrote:
What still needs to be done is go through the tag pages and where necessary add/edit the links to their translations.
To add a link should be no problem with an example page I’m sure to find. What is to be done when editing links, and how would I detect those pages?
I haven’t yet thought of a structured way to do that though.
Should we take an alphabetical approach and post/mail the last page we edited?
I’ve finished them in the meantime
Gosh! Yes! When I was looking for a way to find a system to co-operate I saw you’ve edited several hundreds of pages the last days. You really can leave some of the work, I’m not that fast, that’s part of my personality, but I’m willing to volunteer my time.
returns title) Now what…?
Umm, … well … SQL.
SQLedgehammer these parentheses away :)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#17 2009-09-25 16:16:14
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [wiki] Adding new translation to article txp:hide
uli wrote:
To add a link should be no problem with an example page I’m sure to find. What is to be done when editing links,
Example page: article. The links on this page are updated. When you look at the source you see this block:
<!-- Important links...Keep at bottom -->
[[category:Tag Reference]] [[category:Article Tags]]
[[es:article (es)]]
[[fr:article (fr)]]
[[hu:article (hu)]]
[[zh-tw:article (zh-tw)]]
The category links are displayed at the bottom of the tag page, and determine to which category/ies – in this example ‘Tag Reference’ and ‘Article Tags’ – this particular tag page belongs (and on which category page(s) it will be linked to).
The language links are displayed in the right column of the tag page. They should look like the above example, and link to existing pages of course.
Most tag pages still contain links in the old format, like [[hu:Txp:tag_name /]] or [[zh-tw:txp:tag_name /]]. They should be changed into [[hu:tag_name (hu)]], [[zh-tw:tag_name (zh-tw)]] etcetera.
and how would I detect those pages?
You can either visit all pages one by one and check the links…;) or maybe visit the old (redirected) pages (like for instance Zh-tw/txp:article_/), this will redirect to the new page but you can follow the link to ‘redirected from’, and from there click ‘what links here’ (bottom menu, under ‘Toolbox’). That will show you which pages still contain a link to the outdated page.
Both methods are time-consuming, and since we don’t even know if the Taiwanese pages are up to date or used much, I guess we could forget about those for the moment and focus on the other languages.
Most important in my opinion is that all translated tag pages have working links to their English equivalent.
Oh and Uli, apologies, I’ll leave the rest for you :) Thank you!
Last edited by els (2009-09-25 16:18:40)
Offline