Skip to content

Conversation

@3Sangeetha3
Copy link

This PR enhances the Hindi localization of the p5.js website by translating UI text that previously appeared in English on the /hi/ route. The goal is to provide a complete and consistent user experience for Hindi-speaking users.

📎 Related Issue
Closes #1015

📌 Changes Made

  • Updated src/content/homepage/hi.yaml
  • Updated src/content/ui/en.yaml
  • Updated src/content/ui/hi.yaml
  • Updated HomepageLayout.astro to use {t('Welcome to p5.js')} instead of hard-coded text

📍 Why

  • The /hi/ version of the site previously mixed English + Hindi, causing an incomplete localized experience.

🔍 Screenshots

Screenshot 2025-11-04 at 3 52 34 PM Screenshot 2025-11-04 at 3 52 07 PM Screenshot 2025-11-04 at 3 51 50 PM Screenshot 2025-11-04 at 3 51 42 PM

🧪 Testing

  • /hi/ version renders correctly
  • Navigation + hero text translated
  • No layout breakage

📝 Notes
Let me know if any wording changes or translation improvements are required — happy to update.

@ksen0
Copy link
Member

ksen0 commented Nov 6, 2025

Hi @Divyansh013 and @takshittt, is one of you able to take a look at this and check the translations, please? Thank you!

@yugalkaushik
Copy link

@ksen0 Hi, Can I review this PR as I'm native hindi speaker.

@Divyansh013
Copy link
Member

Hi @Divyansh013 and @takshittt, is one of you able to take a look at this and check the translations, please? Thank you!

I will take a look! Sorry for the delay

Comment on lines +41 to +43
referenceHeaderText: p5.js कोड के प्रत्येक भाग के लिए आसान व्याख्या ढूंढें।
examplesHeaderText: छोटे उदाहरणों के साथ p5.js की संभावनाओं का पता लगाएं।
communityHeaderText: देखें कि दुनिया भर के लोग
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @3Sangeetha3 ,the translations here seems a bit off compared to what it actually says. You can see the current translation to check what we are currently using for words like reference and community. Also in line 43, it means see the p5.js community and not the people from entire world. Let me know if you need any help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incomplete Hindi translations on the p5.js website (Hindi locale shows mixed English and Hindi)

4 participants