Version 8 (modified by stoecker, 5 years ago) (diff)

Improve page a bit

Show translated versions of wiki 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.

Get the Plugin

See the Trac plugin requirements for instructions on installing setuptools. Setuptools includes the easy_install application which you can use to install the SpamFilter:

easy_install TranslatedPagesMacro

You can also obtain the code from the Trac Subversion repository:

svn co

or download [download:translatedpagesmacro zipped source].

See TracPlugins for instructions on building and installing plugins.

You can browse the source in Trac.

This is a link for setuptools to find the SVN download


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:

Known Issues

Display english page prominently in missing page overview

Recent Changes

14535 by stoecker on 2015-04-18 21:59:35
add dialects
13545 by stoecker on 2014-01-04 22:51:24
minor fix in illegal argument detection
11919 by stoecker on 2012-08-10 22:11:21
TranslatedPagesMacro: add label argument


Author: ftofficer
Maintainer: ftofficer
Contributors: dottedmag

Attachments (5)

Download all attachments as: .zip