agama/devel/xgettext
Martin Vidner 19056e3316 added rust/build_pot and refactored its friends
rust/build_pot is again very similar to web/build_pot except for the file
finding details, the language, and the (so far implicit) keywords.

Use `rust/build_pot --container` on older distros.
`web/build_pot_container` is now just a shortcut for
`web/build_pot --container`.

The inlined container logic relies on a `devel/xgettext/run.sh` helper which
calls `build.sh` before running its arguments.
2026-01-15 12:28:16 +01:00
..
build.sh Use a new gettext for extracting the texts from web sources 2025-09-19 10:11:41 +02:00
Dockerfile Use a new gettext for extracting the texts from web sources 2025-09-19 10:11:41 +02:00
README.md Use a new gettext for extracting the texts from web sources 2025-09-19 10:11:41 +02:00
run.sh added rust/build_pot and refactored its friends 2026-01-15 12:28:16 +01:00
xgettext.sh Use a new gettext for extracting the texts from web sources 2025-09-19 10:11:41 +02:00

Xgettext Container

This directory contains the definition of a container containing the latest version of the GNU gettext from the openSUSE Tumbleweed distribution.

It can be used for extracting the translatable texts from the web frontend. That requires a newer GNU gettext which supports TSX input file format.

Building the container

To build the container run the ./build.sh script. It uses Podman so make sure it is installed in the system.

Using the container

To run the container use the ./xgettext.sh script. All parameters are passed to the xgettext tool inside the container.

Clean up

If you do not need the container anymore you can delete the image:

podman rmi agama-xgettext

The container is based on the openSUSE Tumbleweed base image. If you do not use it in other containers you can delete it as well:

podman rmi registry.opensuse.org/opensuse/tumbleweed:latest