Changes

Jump to: navigation, search

Gramps:Language policy

2,344 bytes added, 03:55, 31 January 2013
m
space
{{languages}} This page describes the current multi-lingual policy on GRAMPS Gramps wiki.
==Which Languages?==
In theory, all languages for which a person can be found to maintain the translation, can have the GRAMPS 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 bm benny.malengier AT the domain cage dot ugent dot be: 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;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 [[User_talk:Tosv|talk page]];French: Maintainer: Jérôme. Contact him by mailing romjerome AT the domain: yahoo dot fr or via his [[User_talk:Romjerome|talk page]];German: Maintainer: [[User:Mweinelt]]. Contact him by mailing mweinelt AT the domain: gmail dot com or via his [[User_talk:Mweinelt|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 [[User_talk:Matlas|talk page]].;Polish: Maintainer: Lukasz, [[User:Yenidai]]. Contact him by mailing yenidai AT the domain: @poczta dot onet dot pl or via his [[User_talk:Yenidai|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. ==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 languages supported need to list of pages which group translation strings and must be added to translated:*[[Gramps:Main_page_templates]]: Translation of text strings on the main page*[[Gramps:Using_Gramps_templates]]: Translation of the Gramps documentation portal*[[TemplateGramps:LanguagesCommunity_templates]] and : Translation of the Gramps community portal*[[GRAMPSGramps:Main_page_templates/pageSide_bar_translation]] by : 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 system administratortechnical limitation of the sidebar!
The task List of a maintainer is pages you should definitely consider to translate the Main page via :*[[GRAMPSGramps:About]]:Main_page_templatesThe about box*[[Installation]] as well as the main portals. He also has : How to respond install Gramps*[[Contact]]: How to user questions about the language, and investigate misuse in his language (profanities, flame-wars, ...)contact Gramps
==What NOT to translate==
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.
 
In details:
#The developers section is english only. Development of GRAMPS Gramps is in english.
#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 <nowiki>{{languages|pagename}}</nowiki> template to the content. Instead, add it to the noinclude section of the template: <pre><nowiki><noinclude>{{languages|pagename}}</noinclude></nowiki></pre>
 
==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?==
#If you want to translate page <nowiki>[[GRAMPSGramps:Language policy]]</nowiki> in a language with language code ''zz'', you create a page <nowiki>[[GRAMPSGramps: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|GRAMPSGramps: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>
#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>[[GRAMPSGramps:About]]</nowiki> in Dutch. ## You make the page <nowiki>[[GRAMPSGramps:About/nl]]</nowiki> with content: <pre>#REDIRECT [[nl:GRAMPSGramps:Info]]</pre>## In the page <nowiki>[[GRAMPSGramps:About]]</nowiki>, you add at the bottom <pre>{{languages}}</pre>## You create the page [[nl:GRAMPSGramps: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|GRAMPSGramps:About|GRAMPSGramps: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
==More Info==
For more info, see the documentation in [[Template:Languages]], [[Template:Call lang]].
 
==Examples==
* 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.
 
[[Category:Help|L]]

Navigation menu