Re: Including translations for templates in main roundup.pot

Ralf Schlatterbeck <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
On Sat, May 08, 2021 at 03:55:23PM -0400, John P. Rouillard wrote:
> I looked at locale/GNUMakefile and it looks like it only extracts
> strings from:
> 
>           ../share/roundup/templates/classic/html/*.html \
>           ../share/roundup/templates/minimal/html/*.html
> 
> Should it be covering all of the templates into the main roundup.pot?

Yes I think it is useful to have all templates in roundup.pot
Someone might mix&match code from trackers and it is useful to have all
the strings translated that roundup ships.

> A tracker can have its own locale subdirectory with translations as
> described in doc/developers.txt. The .pot file can be generated using
> roundup-gettext.

I'm regularly using that feature but I still think it's a good idea to
ship all translations in one file (and not start individual locale files
in the tracker templates we ship). With the argument of mix&match
capability.

> Does anybody working on the jinja templates know if roundup-gettext
> will extract strings from the jinja templates?

Sorry, I can't provide input here.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.