Skip to content

Add missing translations for tutorial section headings #931

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Homaid
Copy link

@Homaid Homaid commented Aug 4, 2025

Summary

This PR adds missing tutorialCategories translations to the following UI locale files:

  • hi.yaml (Hindi)
  • es.yaml (Spanish)
  • ko.yaml (Korean)
  • zh-Hans.yaml (Chinese)

Details

The following keys were missing and have now been added:

  • webgl
  • web-desgin
  • drawing
  • accessibility
  • advanced-topics
  • criticalAI
  • education-resources

This fixes the issue where some tutorial section headers were still appearing in English instead of the selected language.

Related Issue

Closes #930

Testing

Tested locally by switching the site language to all four and verifying that all tutorial section headers are now properly translated.

Let me know if anything else needs to be adjusted. Thanks!

@Homaid
Copy link
Author

Homaid commented Aug 4, 2025

Hiii! @ksen0 just wanted to kindly ask if you could take a look at my pull request , It took me quite a while to go through each of the missing translations across all four languages (Hindi, Spanish, Korean, and Simplified Chinese), and make sure everything is rendering correctly. Would really appreciate your feedback or review whenever you have time. Thanks a lot!

@ksen0
Copy link
Member

ksen0 commented Aug 11, 2025

Thanks for putting this together @Homaid ! To merge this one, it would be great to get at least one review of each of the languages. I'm tagging below the i18n stewards and the volunteers from processing/p5.js-web-editor#3578 - if you have time, please review the content of each of the languages carefully, and provide suggestions for improvement - or confirm that the translations work well for the website!

Korean - @jungmokyi
Spanish - @Roxi09
Chinese - @lirenjie95, @limzykenneth
Hindi - @adi-ray, @Divyansh013@takshittt

Thanks in advance, everyone.

webgl: "WebGL"
"advanced": "高级主题"
criticalAI: " 批判性人工智能"
webgl: "网页图形库"
Copy link
Contributor

Choose a reason for hiding this comment

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

In Chinese we don't translate proper nouns such as library names, so I’d like to keep it as WebGL.

introduction: "p5.js का परिचय"
drawing: "चित्रण"
web-design: "वेब डिज़ाइन"
accessibility: "सुलभता"
Copy link
Member

Choose a reason for hiding this comment

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

Please use "अभिगम्यता" here

web-design: "वेब डिज़ाइन"
accessibility: "सुलभता"
criticalAI: "क्रिटिकल AI"
webgl: "वेबग्ल"
Copy link
Contributor

Choose a reason for hiding this comment

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

we should do "वेबजीएल" instead of "वेबग्ल".

web-design: "वेब डिज़ाइन"
accessibility: "सुलभता"
criticalAI: "क्रिटिकल AI"
webgl: "वेबग्ल"
Copy link

Choose a reason for hiding this comment

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

Suggested change
webgl: "वेबग्ल"
webgl: "वेबजीएल"

introduction: "p5.js का परिचय"
drawing: "चित्रण"
web-design: "वेब डिज़ाइन"
accessibility: "सुलभता"
Copy link

Choose a reason for hiding this comment

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

Suggested change
accessibility: "सुलभता"
accessibility: "अभिगम्यता"

@@ -97,10 +97,11 @@ tutorialCategories:
drawing: "绘图"
"web-design": "网页设计"
accessibility: "无障碍"
webgl: "WebGL"
"advanced": "高级主题"
criticalAI: " 批判性人工智能"
Copy link

Choose a reason for hiding this comment

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

Suggested change
criticalAI: " 批判性人工智能"
criticalAI: "批判性人工智能"

Copy link

Choose a reason for hiding this comment

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

Just a quick heads up -> noticed the inconsistency while reviewing; in the translation keys across the YAML files:

"web-design": has quotes
education-resources: missing quotes
"advanced": has quotes

Should we standardize this? since keys with hyphens usually need quotes.

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.

Add Hindi, Spanish, Korean translations for tutorial section headings
7 participants