Fixes missing $lang being globalized.