-
Notifications
You must be signed in to change notification settings - Fork 176
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
Adding support for Tamil language #1378
Conversation
PR Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sann3 Thank you for the PR. Generally looks good, but I would ask for few improvements.
- Typo in commit message: "Create confiog for Tamil language"
- "ta" is a language used in multiple countries. While "+91" is India country code.
So the "phone" section should be in filesrc/main/resources/_IN.yml
. Phone is related to country, not language.
|
df8f416
to
150329c
Compare
Updated the PR with recommended changes, pls check. |
Same for address? |
Not exactly. |
@sann3 Please execute
The reason is that this variable is not defined in - "#{female_last_name}" |
Hi @sann3 , looks great, thanks. Few things:
When both items have been done, we can merge the PR! |
Not exactly.
See last section in CONTRIBUTING.md |
FakerIntegrationTest.testAllFakerMethodsThatReturnStrings test is failing with " Error type: NOT_A_NUMBER. The string supplied did not seem to be a phone number." If I rename to ta-IN.yml, all the tests are passing. What should I do ? |
When users call `new Faker(new Locale("ta")).phone()`, we create phone number for India (though Tamil is used in multiple countries).
…age description These settings already existed in "_IN.yml" (India country specific properties).
…ta-IN.yml" When users call `new Faker(new Locale("ta")).phone()`, we create phone number for India (though Tamil is used in multiple countries).
@sann3 All good, I've merged your PR and made few changes in a new PR https://github.com/datafaker-net/datafaker/pull/1385/commits That was not trivial because of some legacy and hacks in DF code. :) |
When users call `new Faker(new Locale("ta")).phone()`, we create phone number for India (though Tamil is used in multiple countries).
…age description These settings already existed in "_IN.yml" (India country specific properties).
…ta-IN.yml" When users call `new Faker(new Locale("ta")).phone()`, we create phone number for India (though Tamil is used in multiple countries).
Can someone pleas add hacktoberfest-accepted label for this pr |
Em... why? This PR is already merged. |
So that it will be counted against the my hacktoberfest Pr count. |
ah, I got it. Added the label. :) |
Thank you |
PR to fix #1377