Support optional locale