00231: Problem with the internationalization

Summary: Problem with the internationalization
Created: 2004-12-13 15:26
Status: Closed - see [1]
Category: Bug
From: zone51?
Assigned:
Priority: 3
Version: 2.0 beta 8
OS: FREE.FR

Description: Hello,

I have add "XLPage('fr','PmWikiFr.XLPage');" in my config.php and i have placed "PmWikiFr.XLPage" in the wikilib.d's dir.

And he have not change in PmWiki, all is in english and not french.

In the source's code, i think the problem is in XLPage function at "$text = preg_replace("/=>\\s*\n/",'=> ',@$page['text']);", Variable "$text" don't send informations. The informations stored in $page is :

Array ( [ 'Locale' ] => > 'fr_FR', [ 'TimeFmt' ] => > '%d %B %Y à %Hh%M', [ 'xlpage-i18n' ] => > 'utf-8', [] => [ ### standard layout strings] => [ 'SearchWiki' ] => > 'RechercheWiki', [ 'Recent Changes' ] => > 'Changements récents', [ 'Printable View' ] => > 'Imprimable', [ 'Page History' ] => > 'Historique', [ 'Edit Page' ] => > 'Éditer page',...


thx and excuse me for my bad english


I've just updated PmWiki.Internationalizations -- try following the instructions there (download http://www.pmwiki.org/pub/pmwiki/i18n.zip, unpack into pmwiki dir) and see if that resolves the problem. You'll probably want to delete any existing PmWikiFr.XLPage that you've created.

If not, let me know and we'll fix it right away. --Pm