Smarty Block Type for multiple languages?

Discussion in 'Subrion Open Source CMS Core' started by ricmetal, May 3, 2018.

  1. ricmetal

    ricmetal New Member

    hello
    new to subrion

    i have the kickstart template and im trying to edit an existing block that uses smarty type.
    the contents > title allows to insert multiple title of different languages, while contents > contents does not.
    is this feature missing or am I missing something?
  2. Dayir_A.

    Dayir_A. Staff Member

    Hello @ricmetal,

    You may use phrases within smarty block like this: {lang key='phrase-key'}
    i.e. if you have a phrase with key 'phrase-key', then the value of current language will be shown.

    If you have any questions, please tell us.

    Thank you.
    ricmetal likes this.
  3. ricmetal

    ricmetal New Member

    awesome!

Share This Page