Bagisto Forum

    Bagisto

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

    API call according to specific locale .

    General Discussion
    2
    3
    166
    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
      alnouirah last edited by

      Hi there .
      i would love to know if there is any way to fetch Data like ( categories , products ..etc ) with bagisto web api in a specific locale ( translation ) ☺ !

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

        Hi @alnouirah
        you can get it by passing ?locale=ar at then end of api url like http(s)://example.com/public/api/products?locale=ar

        Thanks.

        A 1 Reply Last reply Reply Quote 0
        • A
          alnouirah @Vaishali Agarwal last edited by

          @Vaishali-Agarwal Thanks a lot 🙂

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