Difference between revisions of "Translation"

From OpenKM Documentation
Jump to: navigation, search
(Created page with 'To translate a page to "Brazilian Portugese" follow these steps: * Create a new wiki page with the translated name. For example, "Main page" should be translated to "Brazilian p…')
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
To translate a page to "Brazilian Portugese" follow these steps:
+
{{Note|Translations are manager by the my own '''skins/MonoBook.php''' MOD. If you want to translate a page to LANG, click on the LANG flag from the Translation left menu. If the flag icon still does not exists, please send an email to [mailto:wiki@openkm.com Wiki Administrator].}}
  
* Create a new wiki page with the translated name. For example, "Main page" should be translated to "Brazilian portuguese". If the name collision with another traslation, add "pt_BR" to the page name.
+
Every translate page should be named as the original english plus adding the "/xx-xx" (see [http://tools.ietf.org/html/rfc5646 RFC5646]) string in the name. You can use the wiki "move" option to rename these pages. Take a look at the spanish or brazillian translations to see an example.
  
* Once created the page go to "language" tab and set the page language to "Brazillian portuguese".
+
If you want to duplicate a page, edit the first one to get access to the page source, copy this content (don't modify this original page content), create a new page an paste it. To create a new page, simple type the name of the page in the "search" input and click on "Go" button. The resulting page has an option to create this missing page, in case of this page does not already exists.
  
* After that go to "Main page" and "language" tab. Put the translated page in the "List of available translations for this article" input.
+
About the links in the page, they should follow the same rule. If the translate page has a link called "Accesso al sistema" it should be written as:
  
Of course, these steps are valid for any other language.
+
<nowiki>[[System access/it-it|Accesso al sistema]]</nowiki>
 +
 
 +
== FAQ ==
 +
How can I change the page title from "System access/it-it"  to "Accesso al sistema"?
 +
 
 +
Put on the top of the page this tag: <nowiki>{{DISPLAYTITLE:Accesso al sistema}}</nowiki>

Latest revision as of 20:48, 12 March 2012


Nota clasica.png Translations are manager by the my own skins/MonoBook.php MOD. If you want to translate a page to LANG, click on the LANG flag from the Translation left menu. If the flag icon still does not exists, please send an email to Wiki Administrator.

Every translate page should be named as the original english plus adding the "/xx-xx" (see RFC5646) string in the name. You can use the wiki "move" option to rename these pages. Take a look at the spanish or brazillian translations to see an example.

If you want to duplicate a page, edit the first one to get access to the page source, copy this content (don't modify this original page content), create a new page an paste it. To create a new page, simple type the name of the page in the "search" input and click on "Go" button. The resulting page has an option to create this missing page, in case of this page does not already exists.

About the links in the page, they should follow the same rule. If the translate page has a link called "Accesso al sistema" it should be written as:

[[System access/it-it|Accesso al sistema]]

FAQ

How can I change the page title from "System access/it-it" to "Accesso al sistema"?

Put on the top of the page this tag: {{DISPLAYTITLE:Accesso al sistema}}