X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/be30203459f6994f650ed56b9f7da88b8c98c137..56d32804dd6a0bd46e74ae570070b98e74578058:/po/po2wiki?ds=inline diff --git a/po/po2wiki b/po/po2wiki index 6b84f7d54..862aa9d97 100755 --- a/po/po2wiki +++ b/po/po2wiki @@ -22,7 +22,10 @@ foreach my $file (@$files) { $pagesources{$page}=$file; # used by po plugin functions } -foreach my $ll (keys %{$config{po_slave_languages}}) { +$IkiWiki::phase = IkiWiki::PHASE_RENDER; + +foreach my $lang (@{$config{po_slave_languages}}) { + my ($ll, $name)=IkiWiki::Plugin::po::splitlangpair($lang); $config{destdir}="../underlays/locale/$ll"; foreach my $file (@$files) {