From: Norberto M. <nu...@me...> - 2004-03-10 07:11:03
|
Hi list, Is there a plugin to aid with *content / wikiwords* localisation? Auto-translation of wikiwords was a passing thought...but riddled with problems. I know pgsrc has been localised to several languages (I'll be glad to help with Spanish, BTW), but I'm looking for something that will help visitors see the version of a page in the correct language. (excuse my poor knowledge of plugin syntax and phylosophy in the following examples...) something like... <?plugin LocalisedVersion Lang="en-*" default="yes"> [ALL TEXT FOR ALL ENGLISH LOCALES HERE] <?plugin LocalisedVersion Lang="es-*"> [ALL THE TEXT FOR SP LOCALES HERE] etc. and only the right text would show depending on your language. Notes : how to manage editing? show everything? enhance editing so that only you get to edit the language you are seeing? that could be problematic with versioning...maybe? Or maybe a combination of language detection and http redirection. Say, in AWikiPage <?plugin LocalisedVersionRedirect Lang="en-*" WikiWord="AWikiPageEnglish"> <?plugin LocalisedVersionRedirect Lang="es-*" WikiWord="MiPaginaWiki"> Note: how to handle defaults? maybe all in one plugin declaration?: <?plugin LocalisedVersionRedirect Values="[en-*, AWikiPageEnglish, es-*,MiPaginaWeb,ab-*, HowDoYouSayWikiPageInArabic]" default="en-*" > ( or default="DefaultPageForNewLanguage"). Or even better, include instead of redirection... Any suggestions on how to best implement this if not implemented yet? I'm happy to do it :-) Best regards, -- Norberto Meijome | numard at meijome dot net "Everything is interesting if you go into it deeply enough." - Richard Feynman |