Add translations of snippet comments from Download Package Manager boxes
ovflowd opened this issue ยท 6 comments
Hey, can I work on this issue?
Could you explain the issue and the approach?
Thanks for your interest. We don't assign tickets if we can help it. Feel free to submit a pull request if you have time.
Reference ๐ช https://www.redhat.com/en/blog/dont-lick-cookie
@bmuenzenmeyer Hello, they weren't asking to be assigned an outcome, they were asking for guidance ๐.
So @PalashChitnavis, in util/getNodeDownloadSnippet.ts
you have a function that return string to put on codebox. So issue "ask" to add i18n for comment. To add i18n on a string you I'll need to use client hooks from next-intl call useTranslation
.
Also we have this doc about how to contribute on this repo : COLLABORATOR_GUIDE.md
To be fair, they did both. On mobile i answered too quickly, thanks for giving them next steps!
Hey @PalashChitnavis , Could you please let me know if you are working on this? else I will look into it.
Thanks
@nilkhankari I think you can go head