aboutsummaryrefslogtreecommitdiff
path: root/underlaypo.setup
diff options
context:
space:
mode:
Diffstat (limited to 'underlaypo.setup')
-rw-r--r--underlaypo.setup28
1 files changed, 28 insertions, 0 deletions
diff --git a/underlaypo.setup b/underlaypo.setup
new file mode 100644
index 000000000..530bda46b
--- /dev/null
+++ b/underlaypo.setup
@@ -0,0 +1,28 @@
+#!/usr/bin/perl
+# Configuration file for ikiwiki that uses the po plugin to build/update
+# po files for pages in the underlays.
+
+use IkiWiki::Setup::Standard {
+ wikiname => "ikiwiki",
+ srcdir => "po/underlays",
+ destdir => "po/html",
+ templatedir => "templates",
+ # we don't want to pull in the normal underlays
+ underlaydirbase => "po/underlays",
+ underlaydir => "po/underlays/basewiki",
+ discussion => 0,
+ locale => '',
+ verbose => 1,
+ syslog => 0,
+ add_plugins => [qw{po}],
+ po_master_language => { 'code' => 'en', 'name' => 'English' },
+ # List here all languages that have translations.
+ # Listing languages that are not being actively
+ # translated on will excessively bloat things.
+ po_slave_languages => {
+ #'fr' => 'Français',
+ #'es' => 'Español',
+ #'de' => 'Deutsch',
+ },
+ po_translatable_pages => "*",
+}