TranslationNote
DE - German / Deutsch
HINWEIS: Das nachfolgende Dokument ist eine Übersetzung des entsprechenden Originals mit dem Namen
%ORIGINTOPIC% (rev. %REVISION%) der internen TWiki-4.2.0 Distribution. Das Originaldokument ist in deutscher Sprache verfasst.
ES - Spanish / Español
NOTA: El documento a continuación es una traducción del documento original
%ORIGINTOPIC% (rev. %REVISION%) de la documentación interna distribuida con TWiki-4.2.0. El documento original está en inglés.
Translation for non-spanish speaking users:
NOTE: The following document is a translation of the original document
%ORIGINTOPIC% (rev. %REVISION%) of the internal documentation shipped with TWiki-4.2.0. The original document is written in English.
Technical background:
Syntax
%ICON{"info"}% *NOTE:* The following document is a translation of the original document [[%SCRIPTURL{"view"}%/%ORIGINWEB%/%ORIGINTOPIC%?rev=%REVISION%][%ORIGINTOPIC%]] (rev. %REVISION%) of the internal documentation shipped with TWiki-4.2.0. The original document is written in English.
Explanation
Each translated topic shall include data related to the original document (generally from the english source documentation) that is stored in the
TranslationForm attached to the translated topic. This
TranslationForm includes three core elements (fields), based on a the concept developed on
TWiki:Codev.TranslationSupport
:
- Origin: The original, not translated topic, including the web-reference, e.g.
TWiki.TWikiUsersGuide
- Revision: The revision number of the original topic at the moment of translation
- Language: Two-character ISO language code representing the language of the translated topic, e.g.
es for spanish or en for english
Based on the information of that form, the text of
TranslationNote is generated automatically by an
%INCLUDE{"TWiki.TranslationNote" section="%FORMFIELD{"Language"}%" ORIGIN="%FORMFIELD{"Origin"}%" REVISION="%FORMFIELD{"Revision"}%" ORIGINWEB="%CALC{"$REPLACE(%FORMFIELD{"Origin"}%,$FIND(., %FORMFIELD{"Origin"}%),$LENGTH(%FORMFIELD{"Origin"}%), )"}%" ORIGINTOPIC="%CALC{"$REPLACE(%FORMFIELD{"Origin"}%,0,$FIND(., %FORMFIELD{"Origin"}%), )"}%"}%
at the beginning of each translated topic, refering to the original topic (form field
Origin) in its corresponding revision version (form field
Revision).
In addition to that, the
TranslationNote shall be shown in the language of the translated topic, indicated in the form field
Language.
--
Contributors: SebastianKlus - 14 Mar 2008
Discussion
Attached you will find a
sample pdf of how the rendered
TranslationNote and a translated topic including the attached form looks like.
--
SebastianKlus - 02 May 2008