Take into account the locale argument if present