Difference between revisions of "Translation Policy"

From LibrePlanet
Jump to: navigation, search
m (The best Towing Company in San Antonio, 24/7 towing & roadside assistance)
Line 1: Line 1:
{{Languages|master page=Translation Policy|language=en}}
 
<noinclude>
 
</noinclude>
 
  
'''Important note''' - Before you add or edit a translation of this page or any other page in this wiki, please read the following instructions carefully. Please, DO NOT edit this page if you are not REALLY sure about what you are doing.
+
== '''A Better Wrecker''' ==
  
== Introduction ==
+
The best Towing Company in San Antonio, 24/7 towing & roadside assistance
  
This documents defines the translation policy for the [http://libreplanet.org LibrePlanet] wiki.
+
You need to hire Towing Company San Antonio service whenever you are facing any sort of problem with your vehicle including engine failure. We help people in San Antonio and surrounding areas with towing their car due to flat tires, car battery jump starts, car door unlocking, and other problems. Call (210)385-5071 for Towing in San Antonio.
  
Terminology used in this document:
+
Visit Us Now! [http://http://abetterwrecker.com/ A Better Wrecker]
;original [page]
 
;master page
 
: - both refer to the original page (written in the language used by the author) from which the translations are made;
 
;translation [page]
 
: - refers to a page containing a translation of a original page.
 
  
== Naming of translation pages ==
 
  
A translation page should be named using the following format:
 
<pre>
 
<MasterPage>.<LangCode>
 
</pre>
 
where:
 
;<tt><MasterPage></tt>
 
: is the name of the master page;
 
;<tt><LangCode></tt>
 
: is the 2-digits lowercase code ([https://secure.wikimedia.org/wikipedia/en/wiki/List_of_ISO_639-1_codes ISO 639-1]) of the language used by the translation.
 
  
So, the rule is: the translation page keeps the same (untranslated) name of the original page, plus a dot character followed by the 2-digits lowercase code (ISO 639-1) of the language used by the translation.
+
  Keywords:-
  
This will result in better searches findings, less confusion and more consistency of the wiki.
+
      Towing Company San Antonio,
 +
      Cheap Towing San Antonio,
 +
      Affordable Towing San Antonio,
 +
      Roadside Assistance San Antonio,
 +
      Towing San Antonio,
 +
      San Antonio Towing,
 +
      Towing in San Antonio,
 +
      Towing Service in San Antonio,
 +
      San Antonio Towing services,
 +
      24 hr towing service San Antonio,
 +
      Tow Company near me
  
Example:
 
The Italian translation of the '''<tt>Main_Page</tt>''' of this wiki should be named as '''<tt>Main_Page.it</tt>'''.
 
  
== Language bar ('Languages' template) ==
 
  
When some translation of a master page exist in the wiki, then either the master page or each of its translation pages should display (at their top) a language bar linking to all the available translations.
 
  
To do this, the master page and all its translation pages should call (at their top) the [[Template:Languages]].
 
  
The [[Template:Languages]] should be called in the following format:
+
      Address:-
<pre>
+
              8026 Vantage Drive,
{{Languages|master page=<MasterPage>|language=<LangCode>}}
+
              San Antonio, Texas – 78230, USA
</pre>
+
              (210) 385-5071
where:
 
;<tt><MasterPage></tt>
 
: is the name of the master page;
 
;<tt><LangCode></tt>
 
: is the 2-digits lowercase code (ISO 639-1) of the language used for the content of the page from which the template itself is being called (no matter if it is the master page or one of its translations).
 
  
Example:
+
      E-mail:-
The '''<tt>Main_Page</tt>''' of this wiki has been written in English, so it should include at top: <br />
+
              towing@abetterwrecker.com
<pre>
+
              Open 24 Hours
{{Languages|master page=Main_Page|language=en}}
 
</pre>
 
and its Italian translation page should include at top:
 
<pre>
 
{{Languages|master page=Main_Page|language=it}}
 
</pre>
 
Please, note that in both cases the template is ''called referring to the same master page'' (this keep them all related each other!), but for the page in English it is used the language code ''''<tt>en</tt>'''' while for the page in Italian it is used the language code ''''<tt>it</tt>''''.
 
 
 
=== Semantic language properties ===
 
 
 
When using the [[Template:Languages]], both the Semantic MediaWiki properties ''''Language code'''' and ''''Content language'''' for the calling page are set to the <tt><LangCode></tt> parameter value. These properties could then be used in semantic queries and searches.
 
 
 
In other words, following the example above, when including in a page:
 
<pre>
 
{{Languages|master page=Main_Page|language=it}}
 
</pre>
 
it not only will display the language bar, but it also will assign the '<tt>it</tt>' value to both the semantic properties '<tt>Language code</tt>' and '<tt>Content language</tt>' for that page. This means that this page will be matched when searching/querying the Semantic MediaWiki for those pages having the '<tt>Language code</tt>' or the '<tt>Content language</tt>' properties set to '<tt>it</tt>'.
 
 
 
== Renaming/moving a master page ==
 
 
 
In order to keep the
 
[['Template:Languages']]
 
working as expected when renaming/moving a master page, then the "old" master page should '''NOT be deleted''' and a [http://www.mediawiki.org/wiki/Help:Redirects redirection] to the "new" master page should be set. This is needed because the translation pages including the [[Template:Languages]] still refer to the "old" master page name after it has been renamed/moved.
 
 
 
Only if '''''all''''' the references to the "old" master page in its translation pages were updated with the "new" master page name, then the [http://www.mediawiki.org/wiki/Help:Redirects redirection] of the "old" master page is not required.
 
 
 
Example: To rename the <tt>Group:LibrePlanetTest\FooPage</tt> master page in <tt>Group:LibrePlanetTest\FooPageNew</tt> keeping at the same time the language bar correctly displaying its translation pages, the 'FooPage' should NOT deleted and its content should be replaced with:
 
<pre>
 
#REDIRECT [[Group:LibrePlanetTest\FooPageNew]]
 
</pre>
 
 
 
== Aligning existing translation pages to this policy ==
 
 
 
If a master page has one or more translations, then they should be checked in order to be aligned to this policy.
 
 
 
To do this:
 
# the names of all the translation pages should be aligned to the [[#Naming of translation pages|naming format]] described above:
 
#* create a new page for the translation, giving it the "right" name accordingly with the <tt><MasterPage>.<LangCode></tt> format;
 
#* cut 'n paste ALL the content from the "old" translation page (that with the "wrong" name) to the "new" page just created (that with the "right" name);
 
#* [http://www.mediawiki.org/wiki/Help:Redirects redirect] the "old" translation page to the "new" one;
 
# either the master page and all its translation pages should be checked in order to add a call to the [[Template:Languages]] (using the calling format described above) if such a call it is missing or wrong.
 
</noinclude>
 

Revision as of 01:28, 17 October 2016

A Better Wrecker

The best Towing Company in San Antonio, 24/7 towing & roadside assistance

You need to hire Towing Company San Antonio service whenever you are facing any sort of problem with your vehicle including engine failure. We help people in San Antonio and surrounding areas with towing their car due to flat tires, car battery jump starts, car door unlocking, and other problems. Call (210)385-5071 for Towing in San Antonio.

Visit Us Now! A Better Wrecker


 Keywords:-
      Towing Company San Antonio,
      Cheap Towing San Antonio,
      Affordable Towing San Antonio,
      Roadside Assistance San Antonio,
      Towing San Antonio,
      San Antonio Towing,
      Towing in San Antonio,
      Towing Service in San Antonio,
      San Antonio Towing services,
      24 hr towing service San Antonio,
      Tow Company near me



     Address:-
              8026 Vantage Drive,
              San Antonio, Texas – 78230, USA
              (210) 385-5071
     E-mail:-
              towing@abetterwrecker.com
              Open 24 Hours