Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

260
Views
Dynamic translation of title in Vue Meta data

I ran into a problem with Vuejs. I'm using VueMeta for handling page titles and so on. And i18n for languages. In every page component we have: metaInfo: { title: '...' } and that's fine up until the need for that titles to be translated. In the html code I do this: {{ $t('allrights') }} and based on the Js files for translation it shows the text.

But in the metaInfo object this, or $t, or store is undefined. How can elegantly access the vue inside that data structure? Callback, inject it somehow or ... ?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!