0

I would like to change langage of auth views in french.

I went to this github repo and downloaded it : enter link description here

I copied the necessaries files into ressources/lang/fr :

enter image description here

and I changed the app.php like this :

'locale' => 'fr',

but my forms still in english...

enter image description here

David
  • 427
  • 1
  • 5
  • 21
  • 2
    did you copy json files too? – Hadi Aghandeh Apr 30 '20 at 11:42
  • thank you for your reply. No, indeed. Where can I copy the file please ? Thanks again. – David Apr 30 '20 at 11:48
  • 1
    try to print out your `config('app.locale')` if it doesn't print out as **fr**, try `php artisan config:cache` then re-run your application – Jems Apr 30 '20 at 11:54
  • Thank you Saangdaet, I'm a noob sorry. Where can I print out this command config('app.locale) ? Like Hadi said, I didn't copy the json file, but I don't know where I can copy it. Thank you to all of you. – David Apr 30 '20 at 11:57
  • 1
    @beegees just copy the fr.json to lang folder. lang/fr.json – Hadi Aghandeh Apr 30 '20 at 14:49
  • Thank you great Hadi, I put fr.json into lang and it's working. Thank you. – David Apr 30 '20 at 15:19

1 Answers1

0

Like Hadi said, I just copied the fr.json into lang and it's working great.

enter image description here

David
  • 427
  • 1
  • 5
  • 21