Cleanup variable use in getLanguages

Change-Id: Ie480f701aa2b117fd73f3f1e2cca1cc9994b2605
Merge "Cleanup variable use in getLanguages"