label to amlocalizedstring
Added language selection logic