| | 57 | == Plug-ins == |
| | 58 | |
| | 59 | So far we have not dealt with the translation of the plug-ins. We need a plan. |
| | 60 | |
| | 61 | == Perl 5 diagnostics == |
| | 62 | |
| | 63 | We have an integration with translated versions of the perldiag.pod that comes with perl. |
| | 64 | ( http://perldoc.perl.org/perldiag.html ) |
| | 65 | Currently we only found French translation on POD2::FR (http://search.cpan.org/dist/POD2-FR). |
| | 66 | |
| | 67 | If someone wants to have translation to any language, the right way is to start translating |
| | 68 | the perldiag.pod file of perl 5.10 and releasing it as POD2::XY Where XY is the language code. |
| | 69 | |
| | 70 | Actually even the English version of perldiag.pod could get some improvement. The problem with |
| | 71 | it as it is with a large part of the Perl 5 documentation is that in many places it assumes |
| | 72 | prior knowledge of C or UNIX. Also in many cases it "correct but not too helpful for beginners". |
| | 73 | |
| | 74 | e.g. |
| | 75 | {{{ |
| | 76 | Global symbol "%s" requires explicit package name |
| | 77 | |
| | 78 | (F) You’ve said "use strict" or "use strict vars", which indicates that all variables |
| | 79 | must either be lexically scoped (using "my" or "state"), declared |
| | 80 | beforehand using "our", or explicitly qualified to say which package |
| | 81 | the global variable is in (using "::"). |
| | 82 | }}} |
| | 83 | |
| | 84 | A beginner probably needs something like this: |
| | 85 | |
| | 86 | {{{ |
| | 87 | You have forgotten to declare the variable using "my" or it was declared in |
| | 88 | another scope or it has a typo. |
| | 89 | }}} |
| | 90 | |
| | 91 | So the "translations" don't necessarily have to be exact translations of the |
| | 92 | English version but should be good explanations for people with |
| | 93 | not much background in Perl. |
| | 94 | |
| | 95 | See also #169 |
| | 96 | |
| | 97 | As the content of perldiag is huge it is better to start with the most |
| | 98 | common warnings and errors. For now see the list here: |
| | 99 | http://www.perlmonks.org/?node_id=733201 |
| | 100 | (TODO: and later maybe copy that list here) |
| | 101 | (TODO: provide examples scripts generating each one of the important errors/warnings) |
| | 102 | |
| | 103 | http://mail.perlide.org/pipermail/padre-dev/2008-December/000368.html |
| | 104 | |
| | 105 | |
| | 106 | == Perl 5 documentation (perldoc in general) == |
| | 107 | |
| | 108 | Could be translated and uploaded to CPAN as POD2::XY. |
| | 109 | We have not implemented it but we should provide and indexed |
| | 110 | access to the selected translated version of the documentation. |
| | 111 | |
| | 112 | There are several modules on CPAN in the POD2:: name space and |
| | 113 | there is the |
| | 114 | |
| | 115 | See also http://perldoc2.sourceforge.net/ |
| | 116 | |
| | 117 | == Perl 5 call-tips == |
| | 118 | |
| | 119 | The source of the call-tips is in http://svn.perlide.org/padre/trunk/Padre/share/languages/perl5/perl5.yml |
| | 120 | We have not thought of a way how to translate these. (and even the English version needs improvement) |
| | 121 | |
| | 122 | == Similar things for other languages == |
| | 123 | |
| | 124 | We have not thought about this yet. |
| | 125 | |
| | 126 | |