localized generate password