Skip Navigation

Sign up

If you sign up for an account on this web site you can customise elements of this site and subscribe to an email newsletter.

If you have an account on this web site you may login.

If you have an account on this site but have forgotten your user name and / or your password then you can request an account reminder email.

i18n:name string hack

In order for things like the preferences page to display titles in the form:

MKDoc.org : Bugs : Unstable 1.8 : Normal : i18n:name string hack : Account Preferences

There is this code for the <title>:

<title
  petal:content="structure string:${self/parent_alternate_title}${string:account-preferences}"
>
  Account Preferences
</title>
 

And this is supposed to pick up the string from the <h1>:

      <h1>
        <a
id="page_content"
name="page_content"
i18n:attributes="xml:lang two-letter-language-code;
                 lang     two-letter-language-code;
                 dir      text-direction"
i18n:translate="account-preferences"
        >
         Account Preferences
        </a>
      </h1>

Up

This document was last modified by Chris Croome on 2005-04-06 08:20:56
MKDoc Ltd., 31 Psalter Lane, Sheffield, S11 8YL, UK.
Copyright © 2001-2005 MKDoc Ltd.