Internationalization

[email protected] Tue, 05 Mar 2024 18:38:07 +0000
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
Hello Everyone!

I found https://www.roundup-tracker.org/docs/developers.html#internationalization-notes

But for me it is not clear if and how a new / external tracker template, like the todo
template https://codeberg.org/R2D2/roundup_todo_tracker_template , fits into this
translation system.

If I copy the todo tracker template into the roundup source tree
( venv/share/roundup/templates ) the extraction and translation process works as
described.
But how would this work if the todo tracker is not integrated into roundup?
Could an additional catalog be created and used in extensoin to the standard translation?
Since most of the translation strings of the todo tracker are already in the classic
tracker.


On a sidenote, did you know of Babel (pybabel) https://babel.pocoo.org/en/latest/ ?
> Babel is an integrated collection of utilities that assist in internationalizing and
> localizing Python applications, with an emphasis on web-based applications.
> 
> Babel provides tools to build and work with gettext message catalogs
>
> Babel includes a command-line interface for working with message catalogs, similar to
> the various GNU gettext tools commonly available on Linux/Unix systems.

At least ~pybabel compile~ seems to work with the current roundup source.


Thanks in advance!


--
Have a fine week!

r2d2