Bagisto Forum

    Bagisto

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

    Use custom translate with shop alias

    General Discussion
    2
    2
    99
    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.
    • A
      alex3005 last edited by

      So we are using a custom frontend theme and we would like to change the translations that are inside the webkul translate folder since some of them are horrible;

      What is the correct way of telling the application to use our custom shop alias translate's and not the webkul transaltes.

      We have a custom package Company > Shop > Resources > lang > etc etc and in the Shop provider boot you should say $this->loadTranslationsFrom(DIR . '/../Resources/lang', 'shop');

      but when looking at the translatios that are on the website then even after php artisan vendor publish > 0

      I still see the translations from the webkul > shop > lang

      How to overwrite this? that it takes the shop from our own package and not the webkul shop one

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

        Hi there,
        You need to register your Lang folder by using Service-provider, please take a reference from Here

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