I just found last week that the POD for my
Audio::Beep module has been translated into Japanese by the
perldoc.jp project. So I offered them to include their translation into my CPAN release of the module. Now for a few questions:
- What's the best place to install the Japanese documentation? My first thought was to install it as Audio::Beep_jp, but i'm not sure that's correct.
- Would it be acceptable to render Makefile.PL interactive and ask which version of the documentation to install? Could it broke non-interactive installations by CPAN Testers?
- What about checking some locale variable to automatically make a choice? But my guess is it could be error prone, so i'm not sure.
Maybe something coded along the lines of the following pseudo-code could do the trick:
if (shell is interactive) {
if (ask "Do you want to install Japanese docs?") {
install japanese_docs;
} else {
install standard_docs;
}
} else {
if (check_locale == 'jp') {
install japanese_docs;
} else {
install standard_docs;
}
}
What you think? Any better ideas or any guidelines or already defined standards? Thanks.
$|=$_="1g2i1u1l2i4e2n0k",map{print"\7",chop;select$,,$,,$,,$_/7}m{..}g
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.