Closed kientux closed 2 years ago
Hey,
This looks good.
Correct me if I'm wrong, this only support Japanese at this point based on the docs, right? At least that's what the docs call out explicitly, and it seems the docs have not been updated in 5 years, so I'm wondering if it supports another 5-letter code.
Have you tested it with other locales?
Thanks for your response. Yes I tested it on several locales, and it works as expected, not just Japanese. Actually the repsonse language will be combined from country
and lang
parameters, for example you will get Japanese for country=JP&lang=JA_JP
but still get English for country=US&lang=JA_JP
. I don't know if this should be noted somewhere on README.
I tested this with Evernote, which supports a bunch of locale: https://itunes.apple.com/lookup\?id\=406056744\&country\=vn\&lang\=vi_vn
ok cool, confirmed it's working. Going to merge this in and push it out. Thanks so much!
Currently
APIManager
hascountry
parameter but App Store repsonse still always show localization as English even for multi-language app. If someone wants to show a custom alert with some other language for release notes, they simple can't.This can be achieve by adding
lang
parameter toAPIManager
, reference.