Authoring guidelines: Difference between revisions

advice to exclude code blocks from translation
No edit summary
(advice to exclude code blocks from translation)
Line 91: Line 91:
Once you have done your edits, you can mark the changes to be translated by doing the following :  
Once you have done your edits, you can mark the changes to be translated by doing the following :  
#Ensure that the new text to be translated is enclosed within <translate> </translate> tags.  
#Ensure that the new text to be translated is enclosed within <translate> </translate> tags.  
#Conversely, please enclose code blocks in </translate> <translate> tags so that they are excluded from translation.
#Likewise, try to exclude wiki markup (tables, tags, etc) from translation.
#Go in “View” mode. You should see the text “This page has changes since it was last marked for translation.” at the top of the page. Click on “marked for translation”.
#Go in “View” mode. You should see the text “This page has changes since it was last marked for translation.” at the top of the page. Click on “marked for translation”.
#Review the translation units. Try to ensure that no wiki code (tables, tags, etc) gets translated. This can be done by breaking the page in multiple <translate> </translate> sections.
#Review the translation units. Check that code blocks and wiki markup are excluded, and all plain text is included.
#In the “Priority languages” section, write either “fr” or “en” as the priority language, that is, the language into which it needs to be translated.
#In the “Priority languages” section, verify that “fr” or “en” appears as the priority language, that is, the language into which it needs to be translated.
#Click on “Mark this version for translation”
#Click on “Mark this version for translation”


Bureaucrats, cc_docs_admin, cc_staff
2,879

edits