Question: Issues Language And Picture Upload

Issues Language And Picture Upload

Hi, i have two issue. 1. i want to add german language to the /lang folder. I added the de.json and the de folder and update the language.json. But i get the issue when i select the lang

DW

Dany Weissh

Asked

Hi, i have two issue.

  1. i want to add german language to the /lang folder. I added the de.json and the de folder and update the language.json. But i get the issue when i select the language “The selected language is invalid.” and furthermore, when i added some translations to other languages, they are not shown in the system.
  2. Picture and Logos i upload to the system are fine in the upload process, but when i refresh it show, that they are not available and bring on the broke thumbs. I please you to help. Thanks in advance
  • MS

    Mian Saleem

    Answered

    Hello,

    Once you update the lang/languages.json file with your language entry. The validation error should go away.

    For logo, I suspect the storage link isn’t created. Please run php artisan storage:link --force to re-link the folder.

    Thank you

  • MR

    Mantas Remesa

    Answered

    After all those language changes it is mandatory to rebuild project which updates public/build files. (this can be done via ssh or building project localy)

  • Login to Reply