Translate Laravel-pwa in Bagisto 1.3.2
-
I am trying to translate the Laravel-pwa app in Bagisto 1.3.2 to a language other than English.
I already put the .json file in / vendor / bagisto / pwa / src / Resources / assets / js / lang with the name es.json to translate the language to Spanish, also indicate this translation in the vendor / bagisto / pwa / file src / Resources / assets / js / plugins / i18n.js however when I access the server https://server.com/pwa the language continues to appear in English. -
Hello @Jesus-Martinez ,
Please try run the following command then check :
php artisan config:cache
composer dump-autoload
Thanks! -
@Naresh-webkul said in Translate Laravel-pwa in Bagisto 1.3.2:
composer dump-autoload
Carry out the instructions indicated and the translation of the new language still does not appear on the screen.
-
I have the following question: are the texts that appear when we search https // server.com / pwa are previously registered in a cache file or are they directly interpreted from the vendor / bagisto / pwa / src / Resources / assets / directory translation? js / lang?
-
This issue is raised and informed to the Dev., it will be fixed soon.
https://github.com/bagisto/laravel-pwa/issues/204