2021-12-04 - Sorry the Gramps wiki is currently being upgraded to a newer software version. Please check back after the 2021-12-06.

Changes

Jump to: navigation, search

Coding for translation using weblate

570 bytes removed, 29 June
no edit summary
This allows languages with gender differences to map nicely into your sentence.
 
== Provide a context support ==
 
A translator needs context for a good translation. Keep in mind you can help him/her, by using context on translation string.
 
We need to call module :
from gen.ggettext import sgettext as _
or
from gen.ggettext import sngettext as _
(if you use ngettext) # not implemented
 
Translation string will use context, but this will be hidden on user interface.
_("context|string")
Translator will see the translation string and a help string without loading program.
Program will only display the string in English or with another locale.
== Object classes ==

Navigation menu