Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Set locale when pulling products, categories and cart from the API #101

Open
6 tasks
rafalcymerys opened this issue Jan 4, 2022 · 0 comments
Open
6 tasks
Assignees
Labels
enhancement New feature or request

Comments

@rafalcymerys
Copy link
Collaborator

rafalcymerys commented Jan 4, 2022

How the project can be improved?

Spree's endpoints support ?locale parameter, which can affect the language of returned entities.
We should include it in our requests, based on the language selected on the frontend.

What are the acceptance criteria?

  • When fetching product list, products are returned with names in user's language
  • When fetching product details, product name and description is returned in user's language
  • When fetching categories, their names are in user's language
  • When fetching cart, product names are in user's language
  • When fetching orders, product names are in user's languages

Additional information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@rafalcymerys rafalcymerys added the enhancement New feature or request label Jan 4, 2022
@letelete letelete self-assigned this Apr 19, 2022
@diegolezana diegolezana self-assigned this Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants