App::rdapper::l10n(3p)

NAME
"App::rdapper::l10n" - internationalisation support for App::rdapper

DESCRIPTION
The rdapper RDAP client can generate output that is localized to the user's locale. It uses Locale::Maketext::Gettext and a dictionary of translated strings stored in .po files.

TRANSLATING STRINGS
"rdapper" has an undocumented command line option, "--strings", which causes it to print a .pot template on STDOUT. This is used to generate the "rdapper.pot" file in the "locale" directory.

This directory contains subdirectories for each supported locale. To create a new locale, create a new subdirectory and copy "rdapper.pot" into it:

    $ mkdir -p ja/LC_MESSAGES
    $ cp rdapper.pot ja/LC_MESSAGES/rdapper.po

Once you have finished editing "rdapper.po", run "mkmo.sh" to compile the .po files into .mo files. These files are installed automatically when rdapper is installed.

You will also need to edit the file "l10.pm" to add a new package, which must look like this:

    package App::rdapper::l10n::ja;
    use base qw(Locale::Maketext::Gettext);
    1;

CONTRIBUTING TRANSLATIONS
Translations are gratefully accepted. To contribute one, please fork the repository <https://github.com/gbxyz/rdapper/fork>, make your edits, and then submit a pull request <https://github.com/gbxyz/rdapper/compare>.