Version 2 (modified by Zhang Cong, 9 years ago) (diff)


TranslatedPages Macro - Show translated versions of a page.


A macro to output a list of translated versions of in current page. The English page should use the wiki name without language code, and translated wiki pages use OriginalWiki/language_code format (language_code follows ISO 639.2 Alpha-2 format). The [[TranslatedPages]] macro generates a list of languages like

to direct to translated versions of wiki pages.

Bugs/Feature Requests

Existing bugs and feature requests for TranslatedPagesMacro are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:translatedpagesmacro here].


You can check out TranslatedPagesMacro from here using Subversion, or browse the source with Trac.


Drop to $trac_environment/plugins.

For example, the page WikiStart was translated to Chinese version WikiStart/zh, Russian version WikiStart/ru and Spanish version WikiStart/es. Insert [[TranslatedPages]] to WikiStart will generate the following list:

And in WikiStart/zh will generate:

Recent Changes

17074 by stoecker on 2018-03-17 13:26:03
more explicitely show outdated translations in preview mode
17045 by stoecker on 2018-02-28 18:09:30
fix LinkFormatter style calls
17041 by stoecker on 2018-02-24 20:22:08
fix query and page internal links


Author: ftofficer

Attachments (5)

Download all attachments as: .zip