[pmwiki-users] Suggestions for Parallel Language versions of Pages.
Kathryn Andersen
kat_lists at katspace.homelinux.org
Mon Sep 17 20:39:23 CDT 2007
On Mon, Sep 17, 2007 at 08:16:10PM -0400, Stirling Westrup wrote:
> I'm currently working on a Bilingual (English/French) site where most of the
> pages in the English/ group will be mirrored by a translation in the
> Francaise/ group and vice-versa.
>
> I would like to have a "Francaise" button in the English group which takes you
> to the equivalent French page, and an "English" button in the French group
> which takes you to the equivalent page.
>
> The question is, how should I best go about setting up these page
> equivalences? I can imagine a few methods such as:
>
> 1) Each page in either group has a (:Alternate: ... ) PTV pointing to the
> other page.
What about an automatically calculated PageVariable -- if the pages
differ only by what group they're in, then that should be a relatively
easy function to create: check what the current group is, and give
the $Name plus the name of the other language group.
One could even put it in the GroupHeader or GroupFooter.
> So, what do folks suggest? It would be best if the system made it obvious when
> the translation of a page (or its link) was missing, and that would be simple
> to extend to other languages if need be.
The other advantage of using a page variable inside a link would
be that broken links would show up automatically.
Kathryn Andersen
--
_--_|\ | Kathryn Andersen <http://www.katspace.com>
/ \ |
\_.--.*/ | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
v |
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha! | -> Earth -> Sol -> Milky Way Galaxy -> Universe
More information about the pmwiki-users
mailing list