No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Switcher for translation variables

    CLI
    2
    2
    73
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Christal last edited by

      To print translation data I am using default command {{ $t('failed') }}

      I would like to change the variable t to some other variable such as {{ $t_abc('failed') }}

      Is it doable?

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        What is the purpose for needing this? When you say “print”, do you mean output in a component or actually printing? And $t isn’t a variable, it is a method. And you can wrap methods in other methods, but the “why” for you needing to do that is unclear.

        Scott

        1 Reply Last reply Reply Quote 0
        • First post
          Last post