-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add locale awareness #44
Add locale awareness #44
Conversation
This reverts commit a3d9250.
I wouldn't do it like that. It's ugly to use $_SERVER variables either it's a standart variable. And language cannot be changed per column basis.
And if possible somehow to pass the variable through the constructor for default generator. |
Understood. How would you recommend getting hold of the locale variable if we don't use $_SERVER? |
In the example I gave - you can pass the locale within the configuration of columns. If you don't pass - it will use english.
|
That's a good suggestion. The only trouble is I think you've proposed this fix against your forked version, not the base version, correct? What is happening with maintenance of this project now? Do you have merge permissions? |
Nope. I will soon release my own fork built around symfony (but can be used standalone also). It already includes locale-awareness. |
Ah! Exciting! I will check out your version - let me know when it goes live! |
@mark-careplanner you can test it now : https://github.com/Warxcell/gdpr-mysqldump |
Adds locale awareness to Faker factory method instantiation call.