3

I'm using the Google Play Billing Library version 3 to fetch available in-app products.

After calling querySkuDetailsAsync on the BillingClient object, I'm correctly getting the SkuDetails for each product.

In the Google Play Console, I translated the product details into multiple languages. However, I'm getting the details only for the main language.

How can I fetch the in-app product details in different languages?

Alex Busuioc
  • 992
  • 1
  • 11
  • 24

1 Answers1

4

You will receive the details translated in the language that you set in the device settings. Try to change the language of your device and you should see that the product details will be fetched in the correct language.

  • It might actually pull the language from the Google Play account since it requests the data from Google Play. Updating the system language and making sure Google Play is in the desired language may be necessary – JensV Jan 11 '21 at 13:16
  • 1
    @JensV From my tests changing the system language setting is enough. If you have the same Google Play account on 2 different devices with 2 different languages, it will fetch the product details in the language of the device – Emanuele Gandolfi Jan 11 '21 at 13:52
  • Fair enough. I was just assuming and didn't actually test it. +1 – JensV Jan 11 '21 at 13:54
  • Indeed, changing the system language will fetch the corresponding product details. I wish I had the possibility of querying for a specific language. Maybe it will be added in the future as an attribute for SkuDetailsParams. Anyway, it is good enough as it is right now – Alex Busuioc Jan 11 '21 at 14:08