Translation template file needs to be updated

Open
#234 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
perl

Research direction

The translation template is po/debbuild.pot, and the strings come from the Perl sources under the debbuild directory. Run the xgettext command from the issue at the repository root, then diff the output against po/debbuild.pot to find the roughly 10 missing strings. Check that the --package-version value matches the current release. Done when the regenerated POT contains the missing strings and the diff is committed.

Written by the indexing model from the issue text.

Description

po/debbuild.pot last update happened 4 years ago, and a local update test showed me that 10 strings should be available for translation and are not.

Please notice that the Fedora Weblate needs the POT file to be up-to-date in order to provide these translation strings for translations.

So please consider updating it and also making it a step of the release workflow, in order to assure translations can contribute.

Now, how to generate the POT? I didn't find a script, Makefile target or documentation, so for my local tests I used the following command (from the repository root directory):

xgettext \
  --language=Perl \
  --keyword=_ \
  --output=po/debbuild.pot \
  --copyright-holder="Andreas Scherer" \
  --package-name=DEBBUILD \
  --package-version=23.12.0 \
  --msgid-bugs-address=https://github.com/debbuild/debbuild/issues \
  debbuild

Dominant language
Perl
Stars
66
Forks
26
Avg merge
26m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from debbuild/debbuild

All issues in debbuild/debbuild

Similar issues

More Perl issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.