On Tue, 06 Feb 2007 11:44:09 +0200, Jiri Hladůvka / OBUTEX  
<[EMAIL PROTECTED]> wrote:
> When looking into my pages file source (using text editor) where (:if
> userlang ...:) is present I can see the line
> languages=cs,sk,en
> before the text:
>
> What about to generate in a new page or edited page (as a ROS event)
> such a line with the default language regardless
> on the presence of the (:if userlang ...:) markup if in local/config.pgp
> languages are defined ?
>
> This would enable language selection and translations of $[phrase] even
> if the (:if userlang ...:) is not present
> and the (:selectlang:) is in the SideBar or Site.PageHeader.
> Am I right?

mmm... that's not a bad idea.
it may work, i think. let me do some experiments with it to see
if there are any problems.


> Has such a functionality be in the PmWiki core ? Or some lines in
> local/config.pgp do that job?

no, it is in the multilanguage.php recipe.

blues


_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to