develooper Front page | perl.perl5.porters | Postings from January 2013

Localizable table of strings for warnings

James E Keenan
January 26, 2013 19:26
Localizable table of strings for warnings
Message ID:
Commenting on now-resolved ticket today, Peter 
Martini wrote:

"I imagine for maintainability - the same warning is displayed in half
a dozen places, so rather than copy and paste the message it was
declared once and referenced everywhere.

"I kind of like it in the sense that it could make it easier to
localize the error message in the future. Another project for another
year, I think; moving all of the literal warnings and format strings
into a single localizable table of strings."

Why wait another year?  If someone could draw up, in effect, a 
requirements document, then this could be the sort of project for which 
we could (a) schedule work at distributed hackathons 
(; or (b) use as an "introduction to 
work on the Perl 5 core distribution" assignment.

Thank you very much.
Jim Keenan Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About