Bagisto Forum

    Bagisto

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

    Login form - Translation of error messages

    Knowledge Base
    8
    11
    923
    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.
    • S
      shaiv-webkul last edited by

      To resolve your issue just the follow the step
      go to your shop->src->resources->js->app.js and following line import ja from 'vee-validate/dist/locale/ja'; just after line no 4

      then replace your Vue.use function with the below one

      Vue.use(VeeValidate, {
      dictionary: {
      ar: ar,
      de: de,
      ja: ja,
      },
      events: 'input|change|blur',
      });

      after that you have to run npm i and npm run watch in the shop package.

      W 1 Reply Last reply Reply Quote 0
      • W
        William Hatanaka @shaiv-webkul last edited by

        Hey @shaiv-webkul,
        I'm using Bagisto with docker, so do you know how i must to proceed to configure npm on file docker-compose.yml?
        And after that which is the command to do execute it?
        Like:

        docker exec -i apache2 bash -c "su - www-data -s /bin/bash -c 'npm i'"
        
        docker exec -i apache2 bash -c "su - www-data -s /bin/bash -c 'npm run watch'"
        

        How to redirect to folder shop package?
        Thank you

        W 1 Reply Last reply Reply Quote 0
        • W
          William Hatanaka @William Hatanaka last edited by

          Hello!
          Did you get some solution for my difficult?
          Thank you !

          1 Reply Last reply Reply Quote 0
          • S
            shaiv-webkul last edited by

            you have to run below command

            docker exec -i apache2 bash -c "su - www-data -s /bin/bash -c 'cd bagisto_installation_directory && npm i'"

            docker exec -i apache2 bash -c "su - www-data -s /bin/bash -c 'cd bagisto_installation_directory && npm run watch'"

            1 Reply Last reply Reply Quote 0
            • S
              sebastian last edited by sebastian

              Still having the same problem, but with the admin errors translation, I changed the locale, but without success

              webkul/admin/src/resources/assets/js/app.js

              Snímek obrazovky 2020-05-13 v 20.19.48.png

              1 Reply Last reply Reply Quote 0
              • V
                Vaishali Agarwal last edited by

                @sebastian
                change the default locale from .env and run php artisan config:cache

                1 Reply Last reply Reply Quote 0
                • H
                  hypernomad last edited by

                  I'm facing the exact same issue with admin area of bagisto 2.0.0.
                  alt text

                  It is much appreciated if anyone can provide the step by step guide to solve this issue.

                  Thank you in advance.

                  ashish2409 1 Reply Last reply Reply Quote 0
                  • ashish2409
                    ashish2409 @hypernomad last edited by

                    @hypernomad

                    Please follow below path and there chose the locale in which you want to add translation.

                    Root Path -> lang -> ja - > validation.php

                    Thank You

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      sunsourceenergy @ashish2409 last edited by

                      @ashish2409 can you please check why my contact form not working? https://www.sunsource-energy.com/contact-us

                      admin 1 Reply Last reply Reply Quote 0
                      • admin
                        admin @sunsourceenergy last edited by

                        @sunsourceenergy is the site built on bagisto?

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