+ Reply to Thread
Results 1 to 3 of 3

Thread: Language translations $lang

  1. #1

    Language translations $lang

    Hi,

    I need to use custom links in some places of the template. For that I use the language code like this:

    {$lang.pages+name+home}

    However it does not work. It returns a 0. I copied the phrase key from admin panel. Phrases with underscore work fine. The ones with a + do not.

    Am I doing it wrongly?

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello,

    For the complex lang keys containing + you should use the following:

    Code:
    Only registered members can view the code.
    or simply use a flynax method:

    {phrase key='pages+name+home'}

  3. #3
    Works.

    Thanks

+ Reply to Thread