Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Translate Laravel-pwa in Bagisto 1.3.2

    Bug Report
    3
    5
    311
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jesus Martinez last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • N
        Naresh-webkul last edited by

        Hello @Jesus-Martinez ,
        Please try run the following command then check :
        php artisan config:cache
        composer dump-autoload
        Thanks!

        J 1 Reply Last reply Reply Quote 0
        • J
          Jesus Martinez last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • J
            Jesus Martinez @Naresh-webkul last edited by

            @Naresh-webkul

            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?

            1 Reply Last reply Reply Quote 0
            • A
              aayush.bhatt172 last edited by

              Hi @Jesus-Martinez

              This issue is raised and informed to the Dev., it will be fixed soon.
              https://github.com/bagisto/laravel-pwa/issues/204

              1 Reply Last reply Reply Quote 0
              • First post
                Last post