+ Reply to Thread
Results 1 to 2 of 2

Thread: Languages phrase - How to get it in php, smarty?

  1. #1

    Languages phrase - How to get it in php, smarty?

    Hello deat Flynax team,

    How i can get added phrase in php/smarty ?

    Something like in smarty box type:
    {$lang.ADDED_PHRASE}

    in php box type:
    $smarty->get_template_vars('foo');

    Thanks,
    Alex

  2. #2
    Yes, It is easy. At first, you need to add a new phrase into Admin Panel >> Languages
    then into smarty you can use it like: {$lang.new_phrase_key}
    In phrase key don't use + . Simply use letters a-z numbers 0-9 and _
    Viktor,
    Flynax technical department,
    Best wishes.

+ Reply to Thread