faker icon indicating copy to clipboard operation
faker copied to clipboard

`en_IN` locale returns latin sentences

Open sizhky opened this issue 2 years ago • 4 comments

  • Faker version: 13.6.0
  • OS: Linux

Brief summary of the issue goes here. How to generate normal english sentence when local is 'en_IN'

Steps to reproduce

import faker

fake = faker.Faker("en_IN")
fake.sentence()

Expected behavior

Output should be a normal english sentence

Actual behavior

'Nobis quos sint alias atque voluptatibus est.' Seeing a latin sentence. No one speaks latin in India

sizhky avatar May 01 '22 10:05 sizhky

Try using the en_US locale instead.

ghost avatar May 01 '22 16:05 ghost

I need to use Indian names.. should i create two faker instances? Isn't there a better way?

sizhky avatar May 01 '22 17:05 sizhky

You can submit a pull request to add the lorem provider to the en_IN locale. For now, I think you should create two faker instances.

ghost avatar May 01 '22 17:05 ghost

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jul 31 '22 02:07 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Aug 15 '22 02:08 github-actions[bot]