po/LINGUAS not interpreted correctly as "whitespace separated list"

Bug #1164386 reported by Naohiro Aota
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
intltool
New
Undecided
Unassigned

Bug Description

doc/I18N-HOWTO gives po/LINGUAS example as follow

http://bazaar.launchpad.net/~intltool/intltool/trunk/view/head:/doc/I18N-HOWTO#L134
> Now add the add the supported languages to po/LINGUAS:
>
> da nl

However this example won't work with current Makefile.in.in

USER_LINGUAS's code expect each line have each language code.

http://bazaar.launchpad.net/~intltool/intltool/trunk/view/head:/Makefile.in.in#L59
> USER_LINGUAS=(snip)grep \^$$lang$$ $(srcdir)/LINGUAS(snip)

Document should be fixed to list these two languages on separated line.

Revision history for this message
Michał Górny (mgorny) wrote :

This is also incompatible with gettext, that accepts a "whitespace separated list". I think the correct solution would be to fix the code to be compliant with gettext and intltool documentation, rather than "restricting" po/LINGUAS format and introducing more confusion to users.

summary: - po/LINGUAS example of I18N-HOWTO doesn't work
+ po/LINGUAS not interpreted correctly as "whitespace separated list"
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.