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

Add WordPress locale mapping to Pinterest API locale. #683

Closed
Tracked by #686
budzanowski opened this issue Feb 1, 2023 · 0 comments · Fixed by #687
Closed
Tracked by #686

Add WordPress locale mapping to Pinterest API locale. #683

budzanowski opened this issue Feb 1, 2023 · 0 comments · Fixed by #687
Assignees
Labels
type: enhancement The issue is a request for an enhancement.

Comments

@budzanowski
Copy link
Collaborator

The https://api.pinterest.com/v3/catalogs/partner/connect/ endpoint supports only the following locale

it,es-419,ru-RU,hu-HU,hr-HR,sv-SE,de,nb-NO,th-TH,sk-SK,ro-RO,es-MX,uk-UA,nl,en-AU,he-IL,tr,es-ES,pl-PL,cs-CZ,en-CA,fi-FI,pt-PT,el-GR,ja,ar-SA,fr-CA,en-GB,es-AR,da-DK,zh-CN,en-US,vi-VN,id-ID,bg-BG,zh-TW,en-IN,tl-PH,ko-KR,af-ZA,ms-MY,bn-IN,te-IN,fr,hi-IN,pt-BR

the task is to implement mapping of WordPress native locales that are required in different format by Pinterest. For example:
nl-NL should be mapped to nl

Throw an error when no mapping is possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant