Lang var not being parsed

  • Hi all,

    I'm just learning to create some simple plugins, nothing big, so i don't have to hardcode stuff. Anyhow, it all works, except the lang vars, they just don't show up in parsed form:

    So i get this in the end:

    Code
    wcf.user.login.notice.head.textwcf.user.login.notice.text
    ....

    This is a piece of the template code:

    Code
    .....
    <h3>{lang}wcf.user.login.notice.head.text{/lang}</h3>
                                    <p>{lang}wcf.user.login.notice.text{/lang}</p>
    .....

    This is the part of the lang xml file:

    Code
    <category name="wcf.user.login.notice">
            <item name="wcf.user.login.notice.head.text"><![CDATA[Create an account or sign in to reply]]></item>
            <item name="wcf.user.login.notice.text"><![CDATA[You need to be a member in order to leave a reply]]></item>
        </category>

    Could it be because of the many dots? :)

  • Can you provide the whole package so that we can check it out ourselves?

    "A life is like a garden. Perfect moments can be had, but not preserved, except in memory. LLAP" — Leonard Nimoy

  • Attached the source code, i know the package ID still says taptalk(used that XML as a reference) , but all the rest is Loginnotice stuff.

    It apaears beneath the topic, it be tagbar or similar topics :)

    Einmal editiert, zuletzt von demon326 (23. Oktober 2014 um 18:22)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!