Skip to content
New issue

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

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

Already on GitHub? # to your account

🌍 Localize queries #443

Merged
merged 1 commit into from
Dec 20, 2021
Merged

🌍 Localize queries #443

merged 1 commit into from
Dec 20, 2021

Conversation

chris-araman
Copy link
Contributor

@chris-araman chris-araman commented Dec 15, 2021

Teaches mas to pass the user's ISO region code to the iTunes Search API, allowing users to find apps that are not available in the United States.

Caveat: CommerceKit and StoreFoundation don't seem to expose the region of the Apple ID signed into the App Store. Instead, we'll make an educated guess that it matches the currently selected locale in macOS. This obviously isn't always going to match, but it's probably better than passing no "country" at all to the iTunes Search API.

Fixes #442 and #85.

@chris-araman chris-araman merged commit 560c89a into main Dec 20, 2021
@chris-araman chris-araman deleted the localize branch December 20, 2021 23:41
@phatblat phatblat added this to the Unreleased milestone Dec 20, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
2 participants