PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

How to configure translation fields in wave?

Solved
quispetellofreddy

Nov 2nd, 2021 04:26 PM

Hello, I made a change in /resources/lang/es/voyager.php But this change is not showing on the dashboard, 'dashboard' => 'Table',

and it keeps showing me "TABLERO", which is the default translation, I already tried cleaning the cache in laravel and it doesn't make the change, is there anything else I can do? Tks!

bobbyiliev

Nov 3rd, 2021 12:46 AM

Best Answer

Hello,

What I usually do is to publish the Voyager lang folder:

  • First create the directory:
mkdir -p resources/lang/vendor/voyager/
  • Then copy the translations:
cp -r vendor/tcg/voyager/publishable/lang/* resources/lang/vendor/voyager/

Then in that directory you can make your changes.

Hope that this helps!

Best,

Bobby

Report
1
quispetellofreddy

Nov 3rd, 2021 04:10 AM

cp -r vendor/tcg/voyager/publishable/lang/*

Thanks for the answer, just switch on that route, thanks friend :)

bobbyiliev

Nov 3rd, 2021 05:01 AM

Hi there,

No problem at all! Happy to hear that you've got it all sorted out!