-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello @AmodeusR Unfortunately, there is no ability to manually change the color of specific language at the moment. That happens because WakaTime and GitHub are different services and their API returns different text for same languages in some cases. In our codebase we are using language colors detection algorithm based on the github-linguist library. We are fetching the updates from the following file https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml every month and generating the following JSON https://github.com/anuraghazra/github-readme-stats/blob/master/src/common/languageColors.json. Resolving this problem would require to create and manually maintain some JSON storage for additional languages aliases. I'm not sure that we want to increase maintenance efforts and complexity of the codebase for this at the moment. Maybe we could return to this in future in case there would be much interest from the community. |
Beta Was this translation helpful? Give feedback.
Hello @AmodeusR
Unfortunately, there is no ability to manually change the color of specific language at the moment.
That happens because WakaTime and GitHub are different services and their API returns different text for same languages in some cases. In our codebase we are using language colors detection algorithm based on the github-linguist library. We are fetching the updates from the following file https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml every month and generating the following JSON https://github.com/anuraghazra/github-readme-stats/blob/master/src/common/languageColors.json.
Resolving this problem would require to create and manually maintain …