Laravel faker multiple languages
— Laravel — 1 min read
You can set language for all faker, it’s means global settings. The setting is in app.php
Next, in my case I need to set multiple languages for each column, for example, address field I need to set Koran, also name field I need to set Chinese. You can use addProvider to assign specific column translation.