mtgatracker / python-mtga

MTGA set data & tooling for python
MIT License
26 stars 23 forks source link

Better method for finding new language key #19

Open pak21 opened 4 years ago

pak21 commented 4 years ago

A slightly nicer method for finding the English localizations in the latest patch - Arena has moved the value we're looking for from the langkey field to the isoCode field, I'm guessing to allow for (e.g.) different US English vs British English translations in future.

If we're not bothered about backwards compatibility, we could just drop the langkey check. I really doubt many people run the latest Python on an older Arena install but you never know...