[pmwiki-users] Localization again

CB chrisbar at wanadoo.fr
Thu Mar 31 13:31:07 CST 2005


>>>>1/ In pmwiki.php, line 51, there is : <h1 class='wikiaction'>$[Editing 
>>>>\$FullName]</h1>
>>>>I can't translate it with something like $[blablabla \$FullName], nor 
>>>>$[blablabla $FullName], bdecause pmwiki doesn't take it in account.
>>>>  
>>>>
>>>>        
>>>>
>>>The translation string is 'Editing $FullName', which should be replaced
>>>by 'blablabla $FullName'.  At any rate, it's able to be translated --
>>>see, for example, the "Editing $FullName" string at
>>>http://www.pmwiki.org/wiki/PmWikiFr/PmWikiFr?action=edit which
>>>is correctly translated into "Édition de la page PmWikiFr.PmWikiFr".
>>>
>>>
>>>      
>>>
>>Well, I already tried that, but I can't get it to work.
>>Another day may be...
>>    
>>
>
>How are you trying to do the translation itself?  That is, what code
>or page are you changing to achieve the translation?
>
>Pm
>
>  
>
Well, I just found a clue about this problem.

I'm using lean skin , which define that in lean.php (lines 58 -> 60) :
  $PageEditFmt = "<div id='wikiedit'>
    <a id='top' name='top'></a>
    <h1 class='wikiaction'>$[Editing] \$FullName</h1>
[...]
(my grep wasn't accurate enough I think...)

I think there is a conflict with the <h1 class='wikiaction'>$[Editing 
\$FullName]</h1> in pmwiki.php.

I still don't figure to handle that, but I now have a better idea of 
what is appening.

Christophe.





-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.8.4 - Release Date: 27/03/2005





More information about the pmwiki-users mailing list