Skip to content

Translate extending/embedding.po - Complete Chinese (Traditional) translation #1135

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

Draft
wants to merge 4 commits into
base: 3.13
Choose a base branch
from

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Jul 29, 2025

This PR provides a comprehensive translation of the extending/embedding.po file from English to Traditional Chinese (zh_TW), completing the documentation for Python embedding techniques.

Translation Summary

  • Progress: 57/59 messages translated (96.6% completion)
  • Starting point: 8/59 messages were previously translated
  • Added translations: 49 new message translations

Key Sections Translated

Core Concepts

  • Introduction to Python embedding vs extending concepts
  • Differences between embedding and extending Python applications
  • Main program initialization and Python interpreter setup

Technical Implementation

  • Very high level embedding interface with practical code examples
  • Pure embedding techniques for executing Python functions from C applications
  • Extending embedded Python to expose C application APIs to Python scripts

Advanced Topics

  • C++ embedding considerations and implementation details
  • Compilation and linking instructions for Unix-like systems
  • Configuration tools (python-config) and build system integration
  • Dynamic library loading and system-specific compilation flags

Translation Approach

  • Terminology consistency: Used the project's terminology dictionary to ensure consistent translation of technical terms like "函式" (function), "模組" (module), "物件" (object)
  • Technical accuracy: Preserved all API references, function names, and code examples while translating descriptive text
  • Cultural adaptation: Adapted explanations to be clear and natural in Traditional Chinese while maintaining technical precision

Quality Assurance

  • Validated translations using msgfmt --statistics and --check flags
  • Followed existing translation patterns in the repository
  • Maintained consistency with other translated documentation files
  • Preserved code blocks and technical examples without modification

The 2 remaining untranslated messages are code blocks that typically don't require translation in po files.

Fixes #1134.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https (dns block)
  • git.afpy.org
    • Triggering command: /usr/lib/git-core/git-remote-https origin REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@Copilot Copilot AI changed the title [WIP] Translate extending/embedding.po Translate extending/embedding.po - Complete Chinese (Traditional) translation Jul 29, 2025
@Copilot Copilot AI requested a review from mattwang44 July 29, 2025 09:26
Copilot finished work on behalf of mattwang44 July 29, 2025 09:26
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.

Translate extending/embedding.po
2 participants