|Keep It Simple, Stupid|
In the latest (0.22) release of Padre we started to support the localization of diagnostic messages from perl.
Normally if you receive an error or warning from perl you can either put use diagnostics; in your code to get a more detailed explanation or you can save the error message in a file perl my_script.pl > err.txt and then run splain err.txt to get the relevant explanation from perldiag
With the latest release of Padre you can get translated version of this diagnostics message when you run your code from Padre. Actually it is a bit virtual claim as so far we only found a French translation of the perldiag.pod file in POD2::FR.
So I would like to encourage others to start translating the perldiag messages and uploading POD2::Your_Language to CPAN but that's quite a lot of work so I'd like to help people focus on the most common errors and warnings one might receive. Translating those would go a long way in helping people who are new to Perl and are not well prepared in English either.
So I'd like to collect a set of example scripts along with the error messages or warnings they generate. Let me show what I have so far:
hello with warn
This is the list I came up with. I'd like to get your other examples for what you think are the most common error messages and warnings.
Once you are done with that, I'd like to ask you to go and translate the relevant entries in perldiag and upload the first version of POD2::Your_Language to CPAN. While this is not Padre specific, if you need an SVN server for cooperating with others, we'd be glad to provide space for this on the SVN server of Padre.