Difference between revisions of "Gramps:Language policy"

From Gramps
Jump to: navigation, search
m (Gramps)
(Using Gramps in my native Language)
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Help| ]]
+
{{languages}}
  
This page describes the current multi-lingual policy on Gramps wiki.
+
Details on the multilingual policy for this Gramps wiki.
  
{{languages}}
+
== Using Gramps in my native Language ==
 +
For information on installing, learning and using the Gramps program in a language ''other'' than the default language (US English) see [[Gramps in another language|Learn how to get started]].
  
 +
==Which Languages?==
 +
In theory, all languages for which a person can be found to maintain the translation, can have the Gramps main page translated. You can then translate articles on a opt-in basis.
  
==Which Languages?==
+
The following Languages are supported:
In theory, all languages for which a person can be found to maintain the translation, can have the Gramps main page translated. You can then translate articles on a opt-in basis. Are supported today:
 
 
;Dutch: Maintainer: B. Malengier. Contact him by mailing benny.malengier AT the domain: gramps-project.org, or via the devel mailing list,  or via his [[User_talk:Bmcage|talk page]].
 
;Dutch: Maintainer: B. Malengier. Contact him by mailing benny.malengier AT the domain: gramps-project.org, or via the devel mailing list,  or via his [[User_talk:Bmcage|talk page]].
 
;Lithuanian: Maintainer: A. Šleinius. Contact him by mailing  asleinius AT the domain: users dot sourceforge dot net
 
;Lithuanian: Maintainer: A. Šleinius. Contact him by mailing  asleinius AT the domain: users dot sourceforge dot net
Line 18: Line 20:
 
;Italian [[User:Dm1407]]. Contact him via his [[User_talk:Dm1407|talk page]].
 
;Italian [[User:Dm1407]]. Contact him via his [[User_talk:Dm1407|talk page]].
  
The languages supported need to be added to [[Template:Languages]], [[Template:Languages/table]] and [[GRAMPS:Main_page_templates/page]] by a system administrator.
+
The languages supported need to be added to [[Template:Languages]], [[Template:Languages/table]] and [[Gramps:Main_page_templates/page]] by a system administrator.
  
 
==What the Maintainer should translate==
 
==What the Maintainer should translate==
The task of a maintainer is to translate the Main page via [[GRAMPS:Main_page_templates]] as well as the main portals. He also has to respond to user questions about the language, and investigate misuse in his language (profanities, flame-wars, ...).
+
The task of a maintainer is to translate the Main page via [[Gramps:Main_page_templates]] as well as the main portals. Preferably they can also respond to user questions about the language, and investigate misuse in that language (profanities, flame-wars, ...).
  
 
The list of pages which group translation strings and must be translated:
 
The list of pages which group translation strings and must be translated:
*[[GRAMPS:Main_page_templates]]: Translation of text strings on the main page
+
*[[Gramps:Main_page_templates]]: Translation of text strings on the main page
*[[GRAMPS:Using_Gramps_templates]]: Translation of the Gramps documentation portal
+
*[[Gramps:Using_Gramps_templates]]: Translation of the Gramps documentation portal
*[[GRAMPS:Community_templates]]: Translation of the Gramps community portal
+
*[[Gramps:Community_templates]]: Translation of the Gramps community portal
*[[GRAMPS:Side_bar_translation]]: Translation of the text strings of the sidebar. '''Note''': although the sidebar will be translated, it will link to the english root page. This is a technical limitation of the sidebar!
+
*[[Gramps:Side_bar_translation]]: Translation of the text strings of the sidebar. '''Note''': although the sidebar will be translated, it will link to the English root page. This is a technical limitation of the sidebar!
  
List of pages you should definitely consider to translate:
+
List of pages you should definitely consider translating:
*[[GRAMPS:About]]: The about box
+
*[[Gramps:About]]: The about box
 +
*[[Contact]]: How to contact Gramps
 +
*[[Download]]: Where to download Gramps
 
*[[Installation]]: How to install Gramps
 
*[[Installation]]: How to install Gramps
*[[Contact]]: How to contact Gramps
 
  
 
==What NOT to translate==
 
==What NOT to translate==
Line 48: Line 51:
  
 
==How?==
 
==How?==
#If you want to translate page <nowiki>[[GRAMPS:Language policy]]</nowiki> in a language with language code ''zz'', you create a page <nowiki>[[GRAMPS:Language policy/zz]]</nowiki>. The root name af the article '''must''' be the '''english''' name. So e.g. <tt>Bonjour</tt> would be <tt>Goodday/fr</tt>. However you can use redirection to give French users a <tt>fr:Bonjour</tt> page
+
#If you want to translate page <nowiki>[[Gramps:Language policy]]</nowiki> in a language with language code ''zz'', you create a page <nowiki>[[Gramps:Language policy/zz]]</nowiki>. The root name af the article '''must''' be the '''english''' name. So e.g. <tt>Bonjour</tt> would be <tt>Goodday/fr</tt>. However you can use redirection to give French users a <tt>fr:Bonjour</tt> page
#Next, you add ''at the bottom of the page'' the template <nowiki>{{languages|GRAMPS:Language policy}}</nowiki>. This same template must be added to the root page as well as all translated pages.
+
#Next, you add ''at the bottom of the page'' the template <nowiki>{{languages|Gramps:Language policy}}</nowiki>. This same template must be added to the root page as well as all translated pages.
 
#In the case no english page exists for the page you want to make, '''first''' add an english page with content <pre><nowiki>{{stub}}</nowiki><nowiki>{{languages|pagename}}</nowiki></pre>
 
#In the case no english page exists for the page you want to make, '''first''' add an english page with content <pre><nowiki>{{stub}}</nowiki><nowiki>{{languages|pagename}}</nowiki></pre>
#You can redirect people to a page with localized title. This is helpfull for searching pages in non-english, or for inclusion of the pages in [[Help:Categories]]. Eg, you want to translate <nowiki>[[GRAMPS:About]]</nowiki> in Dutch.  
+
#You can redirect people to a page with localized title. This is helpfull for searching pages in non-english, or for inclusion of the pages in [[Help:Categories]]. Eg, you want to translate <nowiki>[[Gramps:About]]</nowiki> in Dutch.  
## You make the page <nowiki>[[GRAMPS:About/nl]]</nowiki> with content: <pre>#REDIRECT [[nl:GRAMPS:Info]]</pre>
+
## You make the page <nowiki>[[Gramps:About/nl]]</nowiki> with content: <pre>#REDIRECT [[nl:Gramps:Info]]</pre>
## In the page <nowiki>[[GRAMPS:About]]</nowiki>, you add at the bottom  <pre>{{languages}}</pre>
+
## In the page <nowiki>[[Gramps:About]]</nowiki>, you add at the bottom  <pre>{{languages}}</pre>
## You create the page [[nl:Gramps:Info]], with as content the translated English page, and at the bottom you call the languages script, with as first parameter the english root page, and second parameter the true dutch name: <pre>{{languages|GRAMPS:About|GRAMPS:Info}}</pre>
+
## You create the page [[nl:Gramps:Info]], with as content the translated English page, and at the bottom you call the languages script, with as first parameter the english root page, and second parameter the true dutch name: <pre>{{languages|Gramps:About|Gramps:Info}}</pre>
 
## If you want to link to translated pages, you can use the standard wiki syntax: <nowiki>[[link here/nl|text]]</nowiki>, but  this is off course only possible if the ''nl'' page already exists. You can also use the following handy template: [[Template:Call_lang]], which works as <pre>{{call_lang|link here|nl|text}}</pre> If the required translation exists, it is returned, otherwise the english root page is returned
 
## If you want to link to translated pages, you can use the standard wiki syntax: <nowiki>[[link here/nl|text]]</nowiki>, but  this is off course only possible if the ''nl'' page already exists. You can also use the following handy template: [[Template:Call_lang]], which works as <pre>{{call_lang|link here|nl|text}}</pre> If the required translation exists, it is returned, otherwise the english root page is returned
  
'''Note:''' <small>It actually suffices in the English page to add <tt><nowiki>{{languages}}</nowiki></tt>. If the translated page does not make use of redirects, that also suffices in the translated page. However, when using redirect, you must add as parameter the correct english pagename. Therefore, it is better to just always add it, so you never forget.</small>
+
{{man note|Note:|It actually suffices in the English page to add <tt><nowiki>{{languages}}</nowiki></tt>. If the translated page does not make use of redirects, that also suffices in the translated page. However, when using redirect, you must add as parameter the correct English pagename. Therefore, it is better to just always add it, so you never forget.}}
  
 
==More Info==
 
==More Info==
 
For more info, see the documentation in [[Template:Languages]],  [[Template:Call lang]].
 
For more info, see the documentation in [[Template:Languages]],  [[Template:Call lang]].
 
  
 
==Examples==
 
==Examples==
* Compare [[GRAMPS:About]] and [[Nl:Gramps:Info]] which uses redirect to a different pagename.
+
* Compare [[Gramps:About]] and [[Nl:Gramps:Info]] which uses redirect to a different pagename.
 
* Compare [[Template:Main_page/genealogy_links]] and [[Template:Main_page/genealogy_links/nl]] which uses the call_lang template to do fallback to english language on non-translated pages.
 
* Compare [[Template:Main_page/genealogy_links]] and [[Template:Main_page/genealogy_links/nl]] which uses the call_lang template to do fallback to english language on non-translated pages.
 +
 +
==See also==
 +
* [[Portal:Translators]]
 +
 +
[[Category:Help|L]]
 +
[[Category:Translators/Categories]]

Latest revision as of 00:55, 16 May 2020

Details on the multilingual policy for this Gramps wiki.

Using Gramps in my native Language

For information on installing, learning and using the Gramps program in a language other than the default language (US English) see Learn how to get started.

Which Languages?

In theory, all languages for which a person can be found to maintain the translation, can have the Gramps main page translated. You can then translate articles on a opt-in basis.

The following Languages are supported:

Dutch
Maintainer: B. Malengier. Contact him by mailing benny.malengier AT the domain: gramps-project.org, or via the devel mailing list, or via his talk page.
Lithuanian
Maintainer: A. Šleinius. Contact him by mailing asleinius AT the domain: users dot sourceforge dot net
Slovenian
Maintainer: B. Banko Contact him by mailing bernard.banko AT the domainL siol dot net
Swedish
Maintainer: Tobias Svedberg. Contact him by mailing sleepylion AT the domain: gmail dot com or via his talk page
French
Maintainer: Jérôme. Contact him by mailing romjerome AT the domain: yahoo dot fr or via his talk page
German
Maintainer: User:Mweinelt. Contact him by mailing mweinelt AT the domain: gmail dot com or via his talk page.
Czech
Maintainer: Zdeněk Hataš, User:Matlas. Contact him by mailing zdenek DOT hatas AT the domain: gmail dot com or via his talk page.
Polish
Maintainer: Lukasz, User:Yenidai. Contact him by mailing yenidai AT the domain: @poczta dot onet dot pl or via his talk page.
Italian User:Dm1407. Contact him via his talk page.

The languages supported need to be added to Template:Languages, Template:Languages/table and Gramps:Main_page_templates/page by a system administrator.

What the Maintainer should translate

The task of a maintainer is to translate the Main page via Gramps:Main_page_templates as well as the main portals. Preferably they can also respond to user questions about the language, and investigate misuse in that language (profanities, flame-wars, ...).

The list of pages which group translation strings and must be translated:

List of pages you should definitely consider translating:

What NOT to translate

In details:

  1. The developers section is english only. Development of Gramps is in english.
  2. Mark-up Templates. Templates for markup, eg pretty tables, boxes, should be written language independent, with if necessary a language parameter which is passed to content specific templates that can be translated.

Note that Content templates can be translated, but do not include the {{languages|pagename}} template to the content. Instead, add it to the noinclude section of the template:

<noinclude>{{languages|pagename}}</noinclude>

What Users can translate

Anything they like of the articles. Do follow the guidelines in the next section, How?, though.

It is actually very easy, you only need to know the original language (English) and be able to copy/paste with perhaps the extra complication of using a template for links instead of normal wiki links.


How?

  1. If you want to translate page [[Gramps:Language policy]] in a language with language code zz, you create a page [[Gramps:Language policy/zz]]. The root name af the article must be the english name. So e.g. Bonjour would be Goodday/fr. However you can use redirection to give French users a fr:Bonjour page
  2. Next, you add at the bottom of the page the template {{languages|Gramps:Language policy}}. This same template must be added to the root page as well as all translated pages.
  3. In the case no english page exists for the page you want to make, first add an english page with content
    {{stub}}{{languages|pagename}}
  4. You can redirect people to a page with localized title. This is helpfull for searching pages in non-english, or for inclusion of the pages in Help:Categories. Eg, you want to translate [[Gramps:About]] in Dutch.
    1. You make the page [[Gramps:About/nl]] with content:
      #REDIRECT [[nl:Gramps:Info]]
    2. In the page [[Gramps:About]], you add at the bottom
      {{languages}}
    3. You create the page nl:Gramps:Info, with as content the translated English page, and at the bottom you call the languages script, with as first parameter the english root page, and second parameter the true dutch name:
      {{languages|Gramps:About|Gramps:Info}}
    4. If you want to link to translated pages, you can use the standard wiki syntax: [[link here/nl|text]], but this is off course only possible if the nl page already exists. You can also use the following handy template: Template:Call_lang, which works as
      {{call_lang|link here|nl|text}}
      If the required translation exists, it is returned, otherwise the english root page is returned
Gramps-notes.png
Note:

It actually suffices in the English page to add {{languages}}. If the translated page does not make use of redirects, that also suffices in the translated page. However, when using redirect, you must add as parameter the correct English pagename. Therefore, it is better to just always add it, so you never forget.

More Info

For more info, see the documentation in Template:Languages, Template:Call lang.

Examples

See also