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

Bagisto

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

Translation of Form "Create Product"

Knowledge Base
3
9
769
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.
  • W
    William Hatanaka last edited by William Hatanaka 25 Jun 2020, 08:37 25 Jun 2020, 00:21

    Hello,
    I am trying to translate the "create new products form" on the administrative side of system.
    The address is http://localhost/admin/catalog/products/edit/xx
    Screenshot from 2020-06-25 17-16-52.png
    Screenshot from 2020-06-25 17-17-49.png
    I used to translate the terms on the yyyy/src/Resources/lang/ja/app.php file (Japanese in my case). But I do not find it to translate the form mentioned before.
    Could you help me to find it, please?

    1 Reply Last reply Reply Quote 0
    • V
      Vaishali Agarwal last edited by 25 Jun 2020, 10:49

      Hi @William-Hatanaka
      translation of admin end form can be added by locating to the admin package
      Packages/admin/src/resources/lang/ja/app.php file

      Thanks.

      W 1 Reply Last reply 26 Jun 2020, 02:41 Reply Quote 0
      • W
        William Hatanaka @Vaishali Agarwal last edited by William Hatanaka 26 Jun 2020, 02:55 26 Jun 2020, 02:41

        @Vaishali-Agarwal,
        Yes I am using the following file to translate it

        /app/bagisto/packages/Webkul/Admin/src/Resources/lang/ja/app.php
        

        I've cleared the cache, view route...
        I've ran the php bagisto/artisan vendor:publish --force to update de modifications...
        But the translation not worked!
        I've had success to translate only the items below that title of the accordion functionality like the following image::
        Screenshot from 2020-06-26 11-31-53.png
        This items are attributes, so I've had success to translate them using the Attibute session.
        Screenshot from 2020-06-26 11-51-28.png
        Could you help me how to translate the titles, please!
        Thank you very much!!!

        1 Reply Last reply Reply Quote 0
        • shubhwebkul
          shubhwebkul last edited by 26 Jun 2020, 10:45

          Hello there,

          Currently we do not provide locale based attribute, if you want this functionality all you need to do is, make attribute and attribute group locale based.

          Let me know if you have any further query.
          Thanks!

          W 1 Reply Last reply 1 Jul 2020, 04:55 Reply Quote 0
          • W
            William Hatanaka @shubhwebkul last edited by 1 Jul 2020, 04:55

            Hello @shubhwebkul ,

            I'd managed to translate the attributes to Japanese but not the titles, they are marked by a red line. How can I translate them?

            screenshot-from-2020-06-26-11-31-53.png

            1 Reply Last reply Reply Quote 0
            • shubhwebkul
              shubhwebkul last edited by 2 Jul 2020, 06:52

              Hello there,
              for now you could directly change attribute group title name from database (https://prnt.sc/ta8mo6) and if you want to make it locale based you could also customize it.

              Let me know if you have further query.

              Thanks! Happy Coding 😉

              W 2 Replies Last reply 14 Jul 2020, 10:06 Reply Quote 0
              • 12 days later
              • W
                William Hatanaka @shubhwebkul last edited by 14 Jul 2020, 09:13

                Hey @shubhwebkul ,
                Thank you so much!
                I will try your solution. I am sorry to reply to your message so late.

                1 Reply Last reply Reply Quote 0
                • W
                  William Hatanaka @shubhwebkul last edited by 14 Jul 2020, 10:06

                  Hello @shubhwebkul,
                  I managed to translate the titles that were in the table you indicated (attribute_groups), but in this table, there were no titles: Inventories, Images, Categories, Channels, and Linked Products.
                  Screenshot from 2020-07-14 18-52-08.png
                  So we need to translate these last 5 titles. Could you tell me where I can do this?

                  1 Reply Last reply Reply Quote 0
                  • shubhwebkul
                    shubhwebkul last edited by 15 Jul 2020, 07:56

                    Hello there,

                    These labels are coming directly from blade file, you need to change your language from env file or you can directly set static value here

                    1 Reply Last reply Reply Quote 0
                    9 out of 9
                    • First post
                      9/9
                      Last post