For 2 languages bad used QMap, you can use something like vector<pair<string,string>>.