yurt-dashboard icon indicating copy to clipboard operation
yurt-dashboard copied to clipboard

[Feature Claim] Add English i18n Support (Using Lingui)

Open luc99hen opened this issue 7 months ago • 19 comments

Current Situation OpenYurt Dashboard only displays Chinese text, creating barriers for non-Chinese speakers.

Proposed Solution Integrate Lingui to:

Extract existing Chinese text Add English translations Implement language switching Key Benefits 🌍 Makes dashboard accessible to global users 🛠 Low maintenance with automated string management 🔄 Easy to add more languages later Next Steps

Discuss approach with maintainers Submit PoC PR upon approval others /kind feature

luc99hen avatar May 06 '25 02:05 luc99hen

cc @karanngi

luc99hen avatar May 06 '25 02:05 luc99hen

/assign

karanngi avatar May 12 '25 07:05 karanngi

Hey @luc99hen ,I totally agree with the issue and would love to contribute to it.

Himanshityagii24 avatar May 14 '25 15:05 Himanshityagii24

Hey @luc99hen ,I totally agree with the issue and would love to contribute to it.

Hi @Himanshityagii24 , Thank you for your interest, but considering that @karanngi has already taken on this project, perhaps you could look at other related issues in the OpenYurt community to see if any of them interest you.

luc99hen avatar May 15 '25 02:05 luc99hen

@luc99hen If i am not wrong , this project is a part of lfx internship this year??? , so can others apply as well >??

RONAK-AI647 avatar May 20 '25 07:05 RONAK-AI647

@RONAK-AI647 You are right. I made a mistake. This is part of the lfx task and will ultimately be announced as belonging to the lfx task.

luc99hen avatar May 22 '25 05:05 luc99hen

@luc99hen So can we contribute?

Himanshityagii24 avatar May 22 '25 05:05 Himanshityagii24

Of course, contributions are welcome, but you need to first submit an application through LFX and wait for the result

luc99hen avatar May 22 '25 05:05 luc99hen

Okay Thankyou!

Himanshityagii24 avatar May 22 '25 05:05 Himanshityagii24

Hi @luc99hen , this looks like a great idea! For the initial approach, would it make sense to start by wrapping the main UI strings with Lingui’s i18n helpers and generating the message catalogs? Once the English translations are added, we could add a language toggle to the header. Curious if there are any existing patterns or preferences for how you’d like this integrated or maybe prefer some other approach. Thanks!

AmRitJain0442 avatar May 23 '25 09:05 AmRitJain0442

Also , the slack link doesn't seem to be working , is there an alternate link possibly . Thanks !

AmRitJain0442 avatar May 23 '25 09:05 AmRitJain0442

Hi @luc99hen , I am excited about this i18n enhancement for the OpenYurt Dashboard. I'd love to work on it as part of the LFX Mentorship. I've already explored the codebase and created a local PoC using Lingui for one component. If you're open to it, I can share the approach I took to tackle this issue and comment down the changes to demonstrate the approach for your feedback.

Thanks for the opportunity!

arnavkirti avatar May 23 '25 20:05 arnavkirti

Hi @luc99hen, thank you for opening this issue — I’ve applied for the LFX Mentorship for this task and would love to contribute!

In my current internship, I’m working on an edge AI dashboard with full i18n support (React + react-i18next), supporting six languages with modularized locale files and dynamic language switching. I’m confident in adapting to LinguiJS and helping set up a clean, scalable translation flow. Being fluent in both Chinese and English, I can also assist with accurate localization.

I’ve already explored the OpenYurt Dashboard codebase and am excited to dive in once selections are finalized. Looking forward to the opportunity!

RtoNL avatar May 26 '25 04:05 RtoNL

@luc99hen hey could you tell what we have to setup for dashboard developer OR for dashboard users

CodrAyush avatar May 26 '25 11:05 CodrAyush

@luc99hen i have submitted the cover letter and resume. What else I have to work on or do to increase my chances of getting selected.

CodrAyush avatar Jun 01 '25 07:06 CodrAyush

@luc99hen @zyjhtangtang

Do we have any update around the results for LFX Internship?

luffytokyo avatar Jun 04 '25 10:06 luffytokyo

When results will be announced?

On Wed, 4 Jun 2025, 16:00 luffytokyo, @.***> wrote:

luffytokyo left a comment (openyurtio/yurt-dashboard#50) https://github.com/openyurtio/yurt-dashboard/issues/50#issuecomment-2939486854

@luc99hen https://github.com/luc99hen @zyjhtangtang https://github.com/zyjhtangtang

Do we have any update around the results for LFX Internship?

— Reply to this email directly, view it on GitHub https://github.com/openyurtio/yurt-dashboard/issues/50#issuecomment-2939486854, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4MXPAB3S7B5TIXM74KOQYL3B3DDDAVCNFSM6AAAAAB4QBH4SGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMZZGQ4DMOBVGQ . You are receiving this because you commented.Message ID: @.***>

CodrAyush avatar Jun 04 '25 19:06 CodrAyush

closes #62

karanngi avatar Jul 20 '25 15:07 karanngi

@karanngi I'm not sure if this is intentional, but the translation doesn't seem to be applied in the Hero section of the OpenYurt website.

https://github.com/user-attachments/assets/4bbe2893-3a42-4d39-8c0f-6a4bbfc6031c

Vijaykv5 avatar Jul 29 '25 08:07 Vijaykv5