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

332
Views
Cannot translate the value of keypath when setting lazy to true

I have an nuxt app with i18n module.

I always receive Cannot translate the value of keypath 'sidebar.links.dashboard'. Use the value of keypath as default when switching the language when i set lazy to true inside the configs:

i18n: {
    detectBrowserLanguage: {
      useCookie: true,
      cookieKey: 'i18n_languages',
    },
    defaultLocale: 'en',
    strategy: 'no_prefix',
    langDir: 'languages/',
    lazy: true,
    locales: [
      {
        code: 'en',
        file: 'en.json',
        name: 'English',
      },
      {
        code: 'de',
        name: 'German',
        file: 'de.json',
      },
    ],
  }

When i remove lazy: true the code works.

What did i do wrong here?

Also: Changing the name to .js does not work either

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!