Bug #377872 “having a way to specify a source format in the potf...” : Bugs : intltool (original) (raw)

having a way to specify a source format in the potfiles list would be nice

Bug #377872 reported byClaude Paroz on 2009-05-18

This bug affects 5 people

Affects Status Importance Assigned to Milestone
intltool Triaged High Unassigned

Bug Description

Reported by Sebastien Bacher in http://bugzilla.gnome.org/show_bug.cgi?id=528118:
"Currently there is no way to list a python file not using the .py naming and a
glade file in the POTFILES.in and to have all the strings listed in the
translation template, having a way to specify [type: python] on a POTFILES.in
line would be useful"

I've encountered a similar situation with a Perl file without extension and where xgettext doesn't automatically recognize the language (and hence doesn't properly extract concatenated strings with "." Perl operator).