ikiwiki/underlaypo.setup

30 lines
832 B
Perl

#!/usr/bin/perl
# Configuration file for ikiwiki that uses the po plugin to build/update
# po and pot files for pages in the underlays.
use IkiWiki::Setup::Standard {
# List here all languages that have translations.
# Listing languages without active translations
# will excessively bloat things.
po_slave_languages => {
#'fr' => 'Français',
#'es' => 'Español',
#'de' => 'Deutsch',
},
po_master_language => { 'code' => 'en', 'name' => 'English' },
po_translatable_pages => "*",
add_plugins => [qw{po}],
wikiname => "ikiwiki",
srcdir => "po/underlays",
destdir => "po/html",
templatedir => "templates",
# we don't want to pull in the normal underlays
underlaydirbase => "po/underlays/empty",
underlaydir => "po/underlays/empty",
discussion => 0,
locale => '',
verbose => 1,
syslog => 0,
}