• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

String translations/changes

General Discussion
3
18
1.1k
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.
  • L
    lukas last edited by 14 Jan 2022, 08:15

    I can't find these translations in this file

    1 Reply Last reply Reply Quote 0
    • devansh-webkul
      devansh-webkul last edited by 14 Jan 2022, 14:30

      Which version are you using?

      L 1 Reply Last reply 17 Jan 2022, 15:28 Reply Quote 0
      • L
        lukas @devansh-webkul last edited by 17 Jan 2022, 15:28

        @devansh-webkul v1.3.3

        1 Reply Last reply Reply Quote 0
        • devansh-webkul
          devansh-webkul last edited by 18 Jan 2022, 04:13

          Can you share the screenshot of the translation so that I can check which one you are referring to?

          1 Reply Last reply Reply Quote 0
          • L
            lukas last edited by 18 Jan 2022, 10:23

            Screenshot 2022-01-18 at 12.22.00.png

            I am trying to edit this file

            1 Reply Last reply Reply Quote 0
            • devansh-webkul
              devansh-webkul last edited by 18 Jan 2022, 12:02

              But can you share the page where actually validation you want to change so that i can check.

              1 Reply Last reply Reply Quote 0
              • L
                lukas last edited by 18 Jan 2022, 15:29

                Screenshot 2022-01-18 at 17.24.33.png

                I edited it a little bit, but it's s login page themes/bliss/views/customers/session/index.blade.php. Did you mean this? I want to edit these validations like The "Email" field is required or The "Password" field must be at least 6 characters. Is it possible that custom theme causes the problem?

                1 Reply Last reply Reply Quote 0
                • devansh-webkul
                  devansh-webkul last edited by 19 Jan 2022, 05:22

                  That validation is coming from v-validate. Please check this doc to override the message,
                  https://vee-validate.logaretm.com/v2/guide/messages.html#error-messages

                  1 Reply Last reply Reply Quote 0
                  • 12 days later
                  • H
                    hedyd @devansh-webkul last edited by hedyd 31 Jan 2022, 12:49 31 Jan 2022, 12:40

                    @devansh-webkul said in String translations/changes:

                    You need to publish your translations.

                    Hello There,

                    I made changes in packages/Webkul/Admin/src/Resources/lang/en/app.php

                    and changes canceled spelling under notification status

                    'notification' => [
                            'title'                       => 'Notification',
                            'title-plural'                => 'Notifications',
                            'status'                      => [
                                'all'        => 'All',
                                'pending'    => 'Pending',
                                'processing' => 'Processing',
                                'canceled'   => 'Cancelled',
                                'closed'     => 'Closed',
                                'completed'  => 'Completed',
                            ],
                    ]
                    

                    But it is not reflecting on admin panel. After a while I realized that this translation admin panel is picking from resources/lang/vendor/admin/en/app.php directory instead of Admin package directory.

                    How to update the app.php file under resources/lang/vendor/admin/en/app.php

                    I run the vendor:puslish command, but it didn't work.

                    Is there any other way, As I am not pushing resources/lang/vendor directory to dev server.

                    I also tried again by changing text in file under Admin package and again run the vendor:publish command and select 22 (AdminServiceProvider) But it didn't override the lang/app.php filder under resources/lang/vendor directory

                    Nam in quod velit ni

                    1 Reply Last reply Reply Quote 0
                    • H
                      hedyd last edited by 31 Jan 2022, 12:59

                      Well I found the solution. I need to add --force to override files

                      Nam in quod velit ni

                      1 Reply Last reply Reply Quote 1
                      18 out of 18
                      • First post
                        18/18
                        Last post