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
Why is the keywords limited to English? #4087
Comments
|
The main reason is that we do index them in packagist and for that purpose they should be international, but technically nothing prevents you from putting Chinese in there as far as I know, it just won't pass the composer validate checks. Maybe we should downgrade this to a warning instead of error if it helps. |
|
Packagist has this limitation too. If I use Chinese keywords, the package cannot be updated to Packagist. A lot of pacakages are limited to specified domains. If the keywords must be English, it makes the packages hard to find because many people don't know English keywords counterpart of these domains. Take it into account please. |
|
Nobody is stopping you from creating a Chinese Packagist if it is that important to you. It's open source, so go right ahead. Packagist.org is focused on an international audience, and I don't want to be rude, but Chinese isn't exactly a language that is spoken world wide (yet?). If you want to release on Packagist.org, then English is the recommended language. |
|
@Seldaek it seems this is already considered a warning by the way, or at least, it seems to be added to the warnings array inside |
|
@xjchengo can you tell me where it does not pass validation according to you? What actions are you taking when it fails? Please give me a step by step scenario to reproduce. |
This is error message when updated to Packagist. |
|
Ok, so you want to submit this issue at |
That makes sense yes you're right. I think we can just drop the validation or allow all chars at least, I'll take a quick look at this. |
|
Note that it won't be fixed on packagist until I deploy a new version using latest composer, so please have some more patience :) But it'll be fixed eventually, then hopefully it won't explode the packagist search engine ;) |
|
@xjchengo should now be fixed, please let me know if you experience any issues. |
I want to use Chinese keywords for my package. But it cannot pass validation:
And the description doesn't have this limitation.
It is kind of unfriendly.
The text was updated successfully, but these errors were encountered: