fix lang mapping on safari