Changes

Jump to: navigation, search

Coding for translation using weblate

570 bytes removed, 19:57, 29 June 2021
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