implement translation from wikidata language encoding to BCP 47