summaryrefslogtreecommitdiff
path: root/basewikipo.setup
blob: acc001b7f9a75a6bb701e0592f8bc9fd615624e3 (plain)
  1. #!/usr/bin/perl
  2. # Configuration file for ikiwiki that uses the po plugin to build/update
  3. # po files for pages in the base wiki.
  4. use IkiWiki::Setup::Standard {
  5. wikiname => "ikiwiki",
  6. srcdir => "po/underlays",
  7. destdir => "po/html",
  8. templatedir => "templates",
  9. # we don't want to pull in the normal underlays
  10. underlaydirbase => "po/underlays",
  11. underlaydir => "po/underlays/basewiki",
  12. discussion => 0,
  13. locale => '',
  14. verbose => 1,
  15. syslog => 0,
  16. add_plugins => [qw{po}],
  17. po_master_language => { 'code' => 'en', 'name' => 'English' },
  18. # List here all languages for which someone is working on
  19. # translating the base wiki. Listing languages that are not
  20. # being actively worked on will excessively bloat things.
  21. po_slave_languages => { 'fr' => 'Français',
  22. 'es' => 'Español',
  23. 'de' => 'Deutsch',
  24. },
  25. po_translatable_pages => "*",
  26. }