[pmwiki-users] Feature request: Action lists in skins
Joachim Durchholz
jo at durchholz.org
Fri Apr 15 10:01:59 CDT 2005
Bronwyn Boltwood wrote:
> As you can tell, I've been having to give all my attention to the
> real world for too long... ;-)
Well, indulging in that real-world vice is something that we all do from
time to time ;-)))
> On 4/8/05, Joachim Durchholz <jo at durchholz.org> wrote:
>
>> Bronwyn Boltwood wrote:
>>
>>> On Apr 6, 2005 6:40 AM, Joachim Durchholz <jo at durchholz.org>
>>> wrote:
>
>
>>> That would be because beginning skin developers don't understand
>>> what the $[brackets] do or how they work. Why would they? "The
>>> template is just HTML, right?" Would $[brackets] magically
>>> disappear in HTML? No. So to make sure that their skin looks
>>> right, they take them out. I did.
>>
>> Ah, then that's a design buglet in the semantics of $[...].
>
> Yeah, plus the skin development pages don't mention what they do.
I'm not sure where exactly that's documented, but I know that $[foo] is
replaced with the translation of "foo" if one is available on the
XLPage, and with "foo" itself if no such translation is available.
So, yes indeed, the $[...] will magically vanish. It's all just an
affair of enclosing everything that should be translatable with $[...] -
the rest is the duty of the translators.
>> BTW if you want other texts than the standard ones, simply do an
>> English->English XLPage. I.e. you "translate" from "Printable view"
>> to the shorter "Print" :-) Well, more precisely, it would be a
>> translation from English to "Bronwyn's Best Practice English for
>> PmWiki pages", so this isn't as silly as it might sound.
>
> Yeah, I'd been thinking that I should do that. Then I'd find out how
> much work it is (or isn't) to set that up.
It's quite simple. Based on wiki pages where you can drop the
translations, and a call to XLPage() in config.php. It's really a matter
of Read The Friendly Manual :-)
(yeah I know that reading manuals isn't something that we all do unless
forced to ;-)))
> I'm not sure if people will publish skins which do it that way,
> though. It would depend on how hard it is to write and setup, both
> for the developer and the wiki admin on the other end. (Note: it
> gets harder when you need to unzip things into several different
> directories, because it can't be done automatically for all
> configurations.)
No trouble that I can foresee in that area.
Regards,
Jo
More information about the pmwiki-users
mailing list