summaryrefslogtreecommitdiff
path: root/underlaypo.setup
blob: 530bda46bc418d0c018f42a130f3eb7ebdf7cd0f (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 underlays.
  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 that have translations.
  19. # Listing languages that are not being actively
  20. # translated on will excessively bloat things.
  21. po_slave_languages => {
  22. #'fr' => 'Français',
  23. #'es' => 'Español',
  24. #'de' => 'Deutsch',
  25. },
  26. po_translatable_pages => "*",
  27. }