[Pmwiki-users] More translation-issues.

Knut Alboldt mailing
Sun Oct 24 11:38:25 CDT 2004


At 19:14 24.10.2004, you wrote:
>Hello!
>
>I've found two more issued with translation:
>
>1. The RecentChanges-pages. It would be nice to be able to translate the 
>name of the page to something more appropriate in a non-english language. 
>If translating the page name is not feasible, then perhaps a method of 
>setting the displayed heading on the RecentChanges page? Also, the date 
>and "by" are not translated in the list of recent changes. I fixed this by 
>putting
>$CurrentTime = strftime(FmtPageName('$TimeFmt',$pagename),$Now);
>after my XLPage() call in config.php and also setting
>$RecentChangesFmt = array(
>   'Main.AllRecentChanges' =>
>     '* [[$Group.$Name]]  . . . $CurrentTime $[by] $AuthorLink',
>   '$Group.RecentChanges' =>
>     '* [[$Group/$Name]]  . . . $CurrentTime $[by] $AuthorLink');
>
>Integrating these or equivialent fixes into pmwiki2-devel would be 
>appreciated. An anticipated problem is the AllRecentChanges-page, where 
>you don't want mixed languages in a multi-language wiki.

You can even change the pagenames to another language, but this has to be 
done in the config-file, not simply by using the xlpages:
>$RecentChangesFmt = array(
>   'MyMainGroup.MyAllRecentChanges' =>
>     '* [[$Group.$Name]]  . . . $CurrentTime $[by] $AuthorLink',
>   '$Group.MyRecentChanges' =>
>     '* [[$Group/$Name]]  . . . $CurrentTime $[by] $AuthorLink');

Knut 




More information about the pmwiki-users mailing list