GBLS/docassemble-gbls

Client.Language

Opened this issue · 0 comments

With the new client.language scraping, there are four languages that are hard-coded into the code (legal_server.py, lines 93-101). These should probably be changed into a lookup of something like the language tuple in https://gist.github.com/alexanderjulo/4073388.

My python skills are too new to get this right since it would be looking to return the key when the value matches and that doesn't match the examples I'm finding.