Allow the locale to be altered when API requests are made

Created on 1 November 2023, about 1 year ago
Updated 14 December 2023, 11 months ago

While we're updating the settings form to support setting a default locale, we still need the locale to be updatable based on site specific parameters. For example, if I'm viewing a product that has a USD price, I may desire any interaction on that page or in checkout for that product to use en_US or at least en_CA as my locale, even if my default is different. This may be a simple alter hook, but we're open to other strategies. (Given these are the only two options, I don't think we need to overthink it.)

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rszrama

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024