Open nicolasWD opened 1 year ago
Sounds like an interesting proposal.
Do you need a list/one of all languages in the world or one of the languages in your country/state? Are you willing to create a PR for that?
For the specific project I am working on, I need multiple unique world language names (e.g. English, French).
Yes, I can open a PR for this. Under which branch should I create the PR?
Ok, please let me know of the next steps.
This list might be a bit excessive:
next
location
categorylocation
module called language
language
entries in the location
locale data.See also here: https://github.com/faker-js/faker/blob/next/CONTRIBUTING.md
Please let us know, if you have any questions or anything is unclear.
Yes, I found Contributing a very nice and concise read. Will start immediately! Thank you!
Would you expect it to return "German" or "Deutsch" in the en
locale? Might need to split into two methods for that, or add a parameter to determine if you expect the locale name of the language.
No, it will always return the name of the languages in the currently selected locale.
So in en
it is German
and in de
it is Deutsch
...
If you want it in another locale, switch to that.
@nicolasWD Are you still working on that? Otherwise, I would label this with help wanted
and unassign you so other people can take it.
I did start it and was struck with some personal issues/drama. I would still be happy to continue this as it would be my first contribution here. I will let you know soon, if anything changes.
This is NOT scheduled for any specific release, so you are fine. Just wanted to know, so I can keep the tickets clean^^
@xDivisionByZerox thank you, I appreciate it
Thank you for your feature proposal.
We marked it as "waiting for user interest" for now to gather some feedback from our community:
If you would like to see this feature be implemented, please react to the description with an up-vote (:+1:).
If you have a suggestion or want to point out some special cases that need to be considered, please leave a comment, so we are aware about them.
We would also like to hear about other community members' use cases for the feature to give us a better understanding of their potential implicit or explicit requirements.
We will start the implementation based on:
the number of votes (:+1:) and comments
the relevance for the ecosystem
availability of alternatives and workarounds
and the complexity of the requested feature
We do this because:
There are plenty of languages/countries out there and we would like to ensure that every method can cover all or almost all of them.
Every feature we add to faker has "costs" associated to it:
+1
@chrda81 Please upvote the issue instead of posting +1
.
Clear and concise description of the problem
I am looking to add random languages for a field "Spoken Languages"
Suggested solution
Under faker.name please add language, like spoken language (e.g. English, Chinese, Spanish)
or
in faker.random.locale() you could add the option to return language name instead of the 2 letter code only
Alternative
No response
Additional context
No response