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? :)

  • Does the package.xml contains the instruction to load the language files?
    Maybe you should use wcf.user instead of wcf.user.login.notice

  • Does the package.xml contains the instruction to load the language files?
    Maybe you should use wcf.user instead of wcf.user.login.notice


    I checked and there in the databse, can acces them via the acp.

  • 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 :)

    Edited once, last by demon326 ().

  • Try moving the vars to wcf.user.

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