简体   繁体   中英

How to localize (and X more) in laravel (v9)?

When request is invalid, that return this response:

{
    "message": "name را وارد کنید (and 2 more errors)",
    "errors": {
        "name": [
            "name را وارد کنید"
        ],
        "phone": [
            "phone را وارد کنید"
        ],
        "password": [
            "password را وارد کنید"
        ]
    }
}

But how to localize "(and 2 more errors)" to Persian?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM