faker.Lorem.Slug returns dashes for fa
- Dominant language
- C#
- Stars
- 9.7k
- Forks
- 538
- PR merge metrics
- No merged PRs in 30d
Description
### Version Information
| Software | Version(s) |
| ------------------------| ---------- |
| Bogus NuGet Package | 34.0.2 |
| .NET Core? | 7.0.101 |
| .NET Full Framework? | |
| Windows OS? | |
| Linux OS? | Debian 11 (bullseye) |
| Visual Studio? | |
### What locale are you using with Bogus?
fa
### What is the expected behavior?
`var slug = new Faker("fa").Lorem.Slug(7);`
slug should be random Farsi (Persian) words.
### What is the actual behavior?
Slug is dashes, like `------`
### Please provide a stack trace.
No stack trace
### Any possible solutions?
I don't know
### How do you reproduce the issue?
- Install `Bogus` using `dotnet add package Bogus`
- Then run this line of code `var slug = new Faker("fa").Lorem.Slug(7)`
- Then print the `slug`
- It is a list of dash characters, not words
### Do you have a unit test that can demonstrate the bug?
No
### Can you identify the location in Bogus' source code where the problem exists?
No
### If the bug is confirmed, would you be willing to submit a PR?
Yes or No? No
Contributor guide
Research direction
Reproduce the issue with `new Faker("fa").Lorem.Slug(7)` and inspect the `Lorem.Slug` entry point together with the Farsi locale data. Done means the call returns random Persian words rather than only dash characters, with a regression test covering the reported behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100