Skip to content

fix: keep OpenJS Foundation untranslated per project policy#8848

Closed
7487 wants to merge 1 commit intonodejs:mainfrom
7487:fix/openjs-foundation
Closed

fix: keep OpenJS Foundation untranslated per project policy#8848
7487 wants to merge 1 commit intonodejs:mainfrom
7487:fix/openjs-foundation

Conversation

@7487
Copy link
Copy Markdown

@7487 7487 commented Apr 26, 2026

Description

Per previous PR #6847, "OpenJS Foundation" is a proper noun and should not be translated.

Two locale files incorrectly override it:

  • fr.json: "Fondation OpenJS" → revert to "OpenJS Foundation"
  • ta.json: Tamil script translation → revert to "OpenJS Foundation"

Changes

  • packages/i18n/src/locales/fr.json: Reset foundationName
  • packages/i18n/src/locales/ta.json: Reset foundationName

Co-Authored-By: Claude Opus 4.7 [email protected]

- fr.json: revert "Fondation OpenJS" back to "OpenJS Foundation"
- ta.json: revert Tamil translation back to "OpenJS Foundation"

Per previous PR nodejs#6847, OpenJS Foundation is a proper noun and should
not be translated in any locale.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
Copilot AI review requested due to automatic review settings April 26, 2026 09:02
@7487 7487 requested a review from a team as a code owner April 26, 2026 09:02
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nodejs-org Ready Ready Preview Apr 26, 2026 9:03am

Request Review

@cursor
Copy link
Copy Markdown

cursor Bot commented Apr 26, 2026

PR Summary

Low Risk
Low risk: only updates two i18n JSON string values and does not affect application logic or data handling.

Overview
Ensures the footer link label for foundationName remains the proper noun "OpenJS Foundation" by reverting unintended translations in the French (fr.json) and Tamil (ta.json) locale files.

Reviewed by Cursor Bugbot for commit c64a844. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions
Copy link
Copy Markdown
Contributor

👋 Codeowner Review Request

The following codeowners have been identified for the changed files:

Team reviewers: @nodejs/nodejs-website

Please review the changes when you have a chance. Thank you! 🙏

@github-actions
Copy link
Copy Markdown
Contributor

Note

Your Pull Request seems to be updating Translations of the Node.js Website.

Whilst we appreciate your intent; Any Translation update should be done through our Crowdin Project.
We recommend giving a read on our Translation Guidelines.

Thank you!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Ensures the proper noun “OpenJS Foundation” remains untranslated in localized footer link text, aligning i18n strings with the project’s trademark/policy guidance referenced in prior work (PR #6847).

Changes:

  • Update French footer link label to use “OpenJS Foundation”.
  • Update Tamil footer link label to use “OpenJS Foundation”.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/i18n/src/locales/fr.json Resets footer.links.foundationName from a French translation back to “OpenJS Foundation”.
packages/i18n/src/locales/ta.json Resets footer.links.foundationName from a Tamil translation back to “OpenJS Foundation”.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -4,7 +4,7 @@
"footer": {
"legal": "பதிப்புரிமை <foundationName>OpenJS நிறுவனம்</foundationName> மற்றும் Node.js பங்களிப்பாளர்கள். அனைத்து உரிமைகளும் பாதுகாக்கப்பட்டவை. <foundationName>OpenJS நிறுவனம்</foundationName> பதிவுசெய்யப்பட்ட வர்த்தக முத்திரைகளைக் கொண்டுள்ளது மற்றும் வர்த்தக முத்திரைகளைப் பயன்படுத்துகிறது. <foundationName>OpenJS நிறுவனம்</foundationName>-ன் வர்த்தக முத்திரைகளின் பட்டியலுக்கு, தயவுசெய்து எங்களது <trademarkPolicy>வர்த்தக முத்திரை கொள்கை</trademarkPolicy> மற்றும் <trademarkList>வர்த்தக முத்திரை பட்டியல் </trademarkList>-ஐப் பார்க்கவும்.<trademarkList>OpenJS Foundation வர்த்தக முத்திரைகளின் பட்டியலில்</trademarkList> குறிப்பிடப்படாத வர்த்தக முத்திரைகள் மற்றும் லோகோக்கள், அந்தந்த உரிமையாளர்களின் வர்த்தக முத்திரைகள்™ அல்லது பதிவுசெய்யப்பட்ட® வர்த்தக முத்திரைகள் ஆகும். அவற்றைப் பயன்படுத்துவது அவர்களுடனான எந்தவொரு தொடர்பையோ அல்லது அவர்களது அங்கீகாரத்தையோ குறிக்காது.",
Copy link

Copilot AI Apr 26, 2026

Choose a reason for hiding this comment

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

The Tamil footer legal string still contains translated text inside <foundationName>…</foundationName> ("OpenJS நிறுவனம்"). If project policy is to keep “OpenJS Foundation” untranslated, these occurrences in legal should also be changed to “OpenJS Foundation”; updating links.foundationName alone won’t affect the rendered legal notice text.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit c64a844. Configure here.

"legal": "பதிப்புரிமை <foundationName>OpenJS நிறுவனம்</foundationName> மற்றும் Node.js பங்களிப்பாளர்கள். அனைத்து உரிமைகளும் பாதுகாக்கப்பட்டவை. <foundationName>OpenJS நிறுவனம்</foundationName> பதிவுசெய்யப்பட்ட வர்த்தக முத்திரைகளைக் கொண்டுள்ளது மற்றும் வர்த்தக முத்திரைகளைப் பயன்படுத்துகிறது. <foundationName>OpenJS நிறுவனம்</foundationName>-ன் வர்த்தக முத்திரைகளின் பட்டியலுக்கு, தயவுசெய்து எங்களது <trademarkPolicy>வர்த்தக முத்திரை கொள்கை</trademarkPolicy> மற்றும் <trademarkList>வர்த்தக முத்திரை பட்டியல் </trademarkList>-ஐப் பார்க்கவும்.<trademarkList>OpenJS Foundation வர்த்தக முத்திரைகளின் பட்டியலில்</trademarkList> குறிப்பிடப்படாத வர்த்தக முத்திரைகள் மற்றும் லோகோக்கள், அந்தந்த உரிமையாளர்களின் வர்த்தக முத்திரைகள்™ அல்லது பதிவுசெய்யப்பட்ட® வர்த்தக முத்திரைகள் ஆகும். அவற்றைப் பயன்படுத்துவது அவர்களுடனான எந்தவொரு தொடர்பையோ அல்லது அவர்களது அங்கீகாரத்தையோ குறிக்காது.",
"links": {
"foundationName": "OpenJS நிறுவனம்",
"foundationName": "OpenJS Foundation",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Tamil legal text still contains translated foundation name

Medium Severity

The fix updates links.foundationName to "OpenJS Foundation" but misses the legal field in ta.json, which still contains <foundationName>OpenJS நிறுவனம்</foundationName> (Tamil translation) in three places. The withLegal.tsx component renders text between <foundationName> tags as visible link text via t.rich(), so users will still see the translated name "OpenJS நிறுவனம்" in the legal paragraph, contradicting the policy that "OpenJS Foundation" remain untranslated everywhere.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c64a844. Configure here.

@avivkeller avivkeller closed this Apr 26, 2026
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.

3 participants