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!

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)

2 participants