Configure Weblate #165
Open
opened 2025-04-24 19:27:32 +00:00 by nico.rikken
·
15 comments
No Branch/Tag Specified
main
weblate/translation
feature/peertube-script
feature/tamil-font-reduction
feature/check-scribus
feature/barcode-font-experiment
feature/gonoto-fonts
feature/editorial-copyright-1
feature/more-presentations
feature/touchup-fonts-makefile
feature/epub-template
release
feature/timecodes-via-phrases
feature/nl-for-publication
feature/rtl-layout
feature/voiceover-timecodes
feature/header-font-alignment
feature/text-borders
feature/guix-manifest
feature/barcode-generation
feature/subtitle-timing
feature/language-packs
No results found.
No labels
Enhancement
Milestone
No items
No Milestone
Assignees
agger (agger)
albert (Albert Dengg)
alex.sander (alex.sander)
anaghz (anaghz)
annarita.russo (annarita.russo)
ao (André Ockers)
bonnie (bonnie)
carmenbianca (carmenbianca)
cryptie (cryptie)
cw (Chris)
dario (dario)
dfajfer (Damian Fajfer)
eal (eal)
erik.ds (erik.ds)
fi (fi)
floriansnow (Florian Snow)
gabriel.ku (gabriel.ku)
giammi (giammi)
hesa (hesa)
hf (hf)
hugo (hugo)
jithendra (jithendra)
jn (jn)
linus (Linus Sehn)
lucabon (Luca Bonissi)
lucas.lasota (lucas.lasota)
marcelo.fm (Marcelo)
mareike (mareike)
max.mehl (Max Mehl)
mho (mho)
mk (Matthias Kirschner)
nanda (nanda)
nico.rikken (nico.rikken)
patrick (Patrick Ohnewein)
polina (polina)
purine_bitter (purine:bitter)
ralfhersel (ralfhersel)
reinhard (Reinhard Müller)
repentinus (Heiki Lõhmus)
schiessle (Björn Schießle)
silviarbgl (Silvia Rbgl)
Slartibartfast (Øjvind Fritjof Arnfred)
sofiaritz (Sofía Aritz)
tobiasd (tobiasd)
vincent (vincent)
weblatebot (weblatebot)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: FSFE/ada-zangemann#165
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Finalize the Weblate configuration:
Proposal for priorities:
Maybe move print colophon to a lower priority.
The metadata and localized filenames could be included in this priority, or moved at an even lower priority so they are at the end of the translation.
Regex flag can be used for ISBN codes or yes/no parameters. Such a boolean parameter could be used to set whether drop caps are valid for this language.
Marking texts as xml-text with flags can ensure correct use of emphasis tags and escaping of ampersand.
ignore-same can be put on texts that typically remain the same, like the title and authors.
Weblate only support flags in the 'comment' field, according to https://docs.weblate.org/en/latest/formats.html#po But W3C ITS only supports 'description or 'alert' https://www.w3.org/TR/its/#locNote-implementation In the Itstool implementation only the description format is handled effectively https://github.com/itstool/itstool/blob/master/itstool.in There doesn't same to be a way to support comments from itstool.
Maybe there is a way to amend the generated po file with comments? Then again a comment sounds strange for static information about the translation process.
Maybe a po file with Weblate flags in comments can be merged with the translations using msgcat.
Most priorities are now manually set in Weblate. I couldn't figure out a way to merge comments, so I chose the manual route.
Add this info to the documentation to describe maintainer issues for weblate:
Relevant situation to document: Weblate could no longer push upstream, because there was already a translation branch, but a feature branch was merged upstream before the translation branch was merged, so the translation push branch needed to be rebased. Solution: delete weblate/translation branch in git and again push from Weblate to create a new (rebased) branch.
Link to URL for creating a new pull-request to merge the translation: https://git.fsfe.org/FSFE/ada-zangemann/compare/main...weblate/translation
Configured Weblate in Files tab to not wrap lines. This will help with diffs and editing in source format, instead of having to deal with newlines.
https://hosted.weblate.org/settings/fsfe/ada-zangemann/#files Files > Translation files > Long lines wrapping :
Only wrap lines at newlines (like 'xgettext --no-wrap')Consider adding more words to the glossary, like the character names. Suggested by keunes in https://hosted.weblate.org/translate/fsfe/ada-zangemann/en/?checksum=5001d1b78d08d03d#comments
Promote the suggestion feature of Weblate. Weblate user keunes is using this and it facilitate reviews and discussions.
For the glossary, Weblate no longer has a separate glossary. The glossary is a separate component in the current project. More information in the documentation: https://docs.weblate.org/en/latest/user/glossary.html In practice this could mean that there is a separate po file with glossary terms.
Glossaries are used to support translators, so it can be beneficial to use them, especially to help achieve a consistent translation. The character names that are currently part of the main component could also be part of the glossary.
As Weblate shares the glossary component with all components in the same project, the Ada & Zangemann glossary would also be available to translators of other Weblate components. If this would become an issue, an idea would be to have a separate project for Ada & Zangemann. Also, it seems that there is some option of 'categorization' that could be used. This was introduced in https://github.com/WeblateOrg/weblate/pull/9731 found via https://github.com/WeblateOrg/weblate/issues/263 and https://github.com/WeblateOrg/weblate/issues/7550
I configured German as the secondary language besides English, so the original German version can be used as another reference. https://docs.weblate.org/en/latest/admin/projects.html#component-secondary-language
More glossary suggestions based on the Greek translation:
Weblate supports for BCP47 for more complex variants, including private tags. This might be interesting to standardize upon. Overview on https://docs.weblate.org/en/latest/admin/languages.html#parsing-language-codes with https://www.rfc-editor.org/rfc/rfc5646.html for language code definitions.