Changes between Initial Version and Version 1 of TranslatedPagesMacro


Ignore:
Timestamp:
Jan 24, 2009, 10:59:25 AM (9 years ago)
Author:
Zhang Cong
Comment:

New hack TranslatedPagesMacro, created by ftofficer

Legend:

Unmodified
Added
Removed
Modified
  • TranslatedPagesMacro

    v1 v1  
     1= !TranslatedPages Macro - Show translated versions of a page. =
     2
     3== Description ==
     4
     5A 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
     6
     7to direct to translated versions of wiki pages.
     8
     9== Bugs/Feature Requests ==
     10
     11Existing bugs and feature requests for TranslatedPagesMacro are
     12[report:9?COMPONENT=TranslatedPagesMacro here].
     13
     14If you have any issues, create a
     15[http://trac-hacks.org/newticket?component=TranslatedPagesMacro&owner=ftofficer new ticket].
     16
     17== Download ==
     18
     19Download the zipped source from [download:translatedpagesmacro here].
     20
     21== Source ==
     22
     23You can check out TranslatedPagesMacro from [http://trac-hacks.org/svn/translatedpagesmacro here] using Subversion, or [source:translatedpagesmacro browse the source] with Trac.
     24
     25== Example ==
     26
     27Drop the attached TranslatedPages.py to <trac environment>/plugins.
     28
     29For 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:
     30
     31And in WikiStart/zh will generate:
     32
     33
     34== Recent Changes ==
     35
     36[[ChangeLog(translatedpagesmacro, 3)]]
     37
     38== Author/Contributors ==
     39
     40'''Author:''' [wiki:ftofficer] [[BR]]
     41'''Contributors:'''