avoid notice when the locale key is undefined