Changeset 772 for trunk/SpanishTWikiContrib/data/TWiki/TranslationNote.txt
- Timestamp:
- 11/18/08 08:44:09 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SpanishTWikiContrib/data/TWiki/TranslationNote.txt
r666 r772 33 33 ---+++ Explanation 34 34 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: 35 * Origin: The original, not translated topic, including the web-reference, e.g. = TWiki.WikiUsersGuide=35 * Origin: The original, not translated topic, including the web-reference, e.g. =%SYSTEMWEB%.WikiUsersGuide= 36 36 * Revision: The revision number of the original topic at the moment of translation 37 37 * Language: Two-character ISO language code representing the language of the translated topic, e.g. =es= for spanish or =en= for english 38 38 Based on the information of that form, the text of TranslationNote is generated automatically by an 39 39 <verbatim> 40 %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"}%), )"}%"}%40 %INCLUDE{"%SYSTEMWEB%.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"}%), )"}%"}% 41 41 </verbatim> 42 42 at the beginning of each translated topic, refering to the original topic (form field _Origin_) in its corresponding revision version (form field _Revision_).
Note: See TracChangeset
for help on using the changeset viewer.
