[pmwiki-users] More template queries and UTF-8 display

Patrick R. Michaud pmichaud at pobox.com
Thu Jun 16 08:12:09 CDT 2005


On Thu, Jun 16, 2005 at 08:56:40PM +0930, Clytie Siddall wrote:
> >Patrick added the XLPage for you to translate:
> >http://www.pmwiki.org/wiki/PmWikiVi/XLPage
> 
> This is the one I was unsure about, because it was already there in  
> English in my dir. However, I've translated it already. Does it need  
> to keep that name?

On pmwiki.org (and for most people installing translation files),
the Vietnamese translation page should be named PmWikiVi/XLPage.
Feel free to overwrite/edit the one that exists now on pmwiki.org --
I simply created that page so that pages in the PmWikiVi group
would start displaying in utf-8.

> I wish one could create a page title without WordsSquashedTogether:  
> Vietnamese consists of many monosyllabic words used in combination,  
> so we have more words to squash up: with all the accents, it's  
> difficult to read like that. :(

You can always explicitly set a page's title using the (:title:) 
directive:

    (:title Words Squashed Together:)

At the moment PmWiki can't automatically space WikiWords containing 
utf-8 letters because PHP doesn't provide a way of distinguishing 
uppercase and lowercase in utf-8.  (Although I'm hoping to come up 
with a workaround for this.)

As far as the wikiwords in a url are concerned: there's not a good
way of places spaces in a url, one typically has to use underscore 
(_) to simulate spaces.  For a variety of reasons PmWiki hasn't
gone this route but it can be done as a local customization.

> Also, if the localization of the main PmWiki site is separate, how do  
> I go about that?

It's automatically handled on pmwiki.org; any group that begins
with PmWiki[A-Z][a-z] is automatically given its own internationalization
taken from that group's "XLPage".  Other groups are unaffected.

Pm



More information about the pmwiki-users mailing list