Translation: Διαφορά μεταξύ των αναθεωρήσεων
Μετάβαση στην πλοήγηση
Πήδηση στην αναζήτηση
(Introduction) |
μΧωρίς σύνοψη επεξεργασίας |
||
Γραμμή 8: | Γραμμή 8: | ||
* '''<translation>''' : This tag tells what part of the text can be translated. | * '''<translation>''' : This tag tells what part of the text can be translated. | ||
* '''<translation/>''' : Closes the previously opened '''translation''' tag. | * '''<translation/>''' : Closes the previously opened '''translation''' tag. | ||
* '''<!--T:N-->''' : This tag is used to segment the text. Segmenting the text is very useful to translate very large pages. | * '''\<!--T:N-->''' : This tag is used to segment the text. Segmenting the text is very useful to translate very large pages. |
Αναθεώρηση της 08:50, 18 Ιανουαρίου 2024
Introduction
MediaWiki's translation extension allows users to add translations to pages. This page will cover step by step, how to make a page translatable and how to add translations to the existing page.
How to make a page translatable
By default, newly created pages are not translatable. For these pages to accept translations, we need to add specials HTML tags inside the page :
- <languages/> : This tag is placed on the first line of the page and tells MediaWiki that this page can be translated.
- <translation> : This tag tells what part of the text can be translated.
- <translation/> : Closes the previously opened translation tag.
- \ : This tag is used to segment the text. Segmenting the text is very useful to translate very large pages.