Skip to content

Malayalam translation: functions — native-speaker calibration review - #2

Open
mmcky wants to merge 1 commit into
mainfrom
seed/functions
Open

Malayalam translation: functions — native-speaker calibration review#2
mmcky wants to merge 1 commit into
mainfrom
seed/functions

Conversation

@mmcky

@mmcky mmcky commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Machine translation of functions for native-speaker review — Phase 2 of QuantEcon/action-translation#189. Merging this PR lands the translation including any fixes committed during review, so review comments here improve the real site directly.

For the reviewer: please comment on any line you would change — English that should be Malayalam, Malayalam that should be English, a wrong case-suffix, awkward phrasing, or the same term handled differently in two places. Headings, code cells and transliteration are already machine-verified (all headings byte-identical, code untouched, zero transliterations) — no need to proofread those. Every comment resolves to exactly one of: a glossary entry, a rule change in the translation tool, or accepted-as-is with our reasoning replied on the thread.

Provenance: source QuantEcon/lecture-python-programming@5816589 · model claude-sonnet-5 · action-translation@main with the register rules + glossary v0.2.0 derived from the reviewer packet · produced by harness run https://github.com/QuantEcon/test-translation-sync/actions/runs/30783378871 and adopted here byte-exact.

🤖 Generated with Claude Code

Translated by claude-sonnet-5 via action-translation@main (register rules + glossary v0.2.0 from the reviewer packet). Source: QuantEcon/lecture-python-programming@5816589. Deterministic gates at translation time: 0 transliterations, 0 native software verbs, headings byte-identical. Part of Phase 2 of QuantEcon/action-translation#189.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adds the Malayalam translation of the “functions” lecture, intended for native-speaker calibration review, landing the translated content directly into the site materials.

Changes:

  • Introduces a new translated lecture file lectures/functions.md with Malayalam prose for the Functions chapter.
  • Preserves notebook/frontmatter structure and code cells while translating explanatory text and exercises.
Suppressed comments (4)

lectures/functions.md:70

  • The phrase “as is” is left in English here; translating it improves readability and consistency with surrounding Malayalam text.
പല functions-ഉം ഇതിനകം exist ചെയ്യുന്നുണ്ട്, നമുക്ക് അവ as is ഉപയോഗിക്കാം.

lectures/functions.md:127

  • This line leaves common verbs like “expect”/“check” in English. Translating those improves flow while keeping technical terms (function/call) intact.
നമ്മൾ ഈ function define ചെയ്തതിനുശേഷം, നമുക്ക് ഇത് *call* ചെയ്ത് നമ്മൾ expect ചെയ്യുന്നത് പോലെ ചെയ്യുന്നുണ്ടോ എന്ന് check ചെയ്യാം:

lectures/functions.md:169

  • “return hit ചെയ്യുമ്പോൾ terminate” is an awkward English-heavy construction. Consider a more natural Malayalam phrasing for program flow.
Function-ന്റെ execution ആദ്യത്തെ return hit ചെയ്യുമ്പോൾ terminate ആകും, ഇത് ഇനി പറയുന്ന example പോലുള്ള code അനുവദിക്കുന്നു

lectures/functions.md:178

  • The English verb “discourage” is used here; using a Malayalam equivalent improves consistency. (The rest of the sentence already reads naturally in Malayalam.)
(Multiple return statements ഉള്ള functions എഴുതുന്നത് സാധാരണയായി discourage ചെയ്യുന്നു, കാരണം ഇത് logic follow ചെയ്യാൻ ബുദ്ധിമുട്ടാക്കും.)

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

Comment thread lectures/functions.md
Comment thread lectures/functions.md
@mmcky

mmcky commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

A note on the automated comments above — they are not from our translation tool, and none of them needs your attention.

GitHub Copilot reviews every pull request in this organisation automatically. It is a general-purpose code reviewer with no knowledge of this edition's translation policy, so on a Malayalam lecture it mostly argues against the policy — repeatedly suggesting that technical terms kept in English should be rendered in Malayalam. That is exactly the over-translation this edition is designed to avoid, and in one case it proposed replacing recommend ചെയ്യുന്നു with ശുപാർശ ചെയ്യുന്നു, which inverts the light-verb rule you specified.

We have checked every one of its comments against the English source and replied to each on its own thread, then marked them resolved so they collapse out of your view. The breakdown for this lecture:

Copilot's comments What we found
1 comment A genuine error — a stack described as FILO where the standard term is LIFO — present verbatim in the English source, filed upstream as QuantEcon/lecture-python-programming#602
1 comment, plus 4 it suppressed Asks for retained English (“almost all”, “extremely useful construct”, expect, check, discourage) to be translated — contrary to the keep-English policy

None of its comments identified a translation defect.

What we are asking you for is unchanged: comment on any line you would change — English that should be Malayalam, Malayalam that should be English, a wrong case-suffix, awkward phrasing, or the same term handled differently in two places. Yours is the review that counts here; please disregard the collapsed automated threads entirely.

@mmcky mmcky closed this Aug 6, 2026
@mmcky mmcky reopened this Aug 6, 2026
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

📖 HTML build - view preview (a9473ae)

Translated pages in this PR:

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.

2 participants