Changes

Jump to: navigation, search

Gramps:Language policy

No change in size, 06:10, 26 January 2013
m
Gramps
[[Category:Help| ]]
This page describes the current multi-lingual policy on GRAMPS Gramps wiki.
{{languages}}
==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 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
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:Using_GRAMPS_templatesUsing_Gramps_templates]]: Translation of the GRAMPS Gramps documentation portal*[[GRAMPS:Community_templates]]: Translation of the GRAMPS 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!
List of pages you should definitely consider to translate:
*[[GRAMPS:About]]: The about box
*[[Installation]]: How to install GRAMPSGramps*[[Contact]]: How to contact GRAMPSGramps
==What NOT to translate==
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.
## 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>
## 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|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
==Examples==
* Compare [[GRAMPS:About]] and [[Nl:GRAMPSGramps: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.

Navigation menu