TS 文件提取 2026 v12.9.9.13 build 20260118.140849
Following is an overview of some functions, subject to the release version:
支持从 self.tr("Test 'Application'") 形式源代码提取 Test 'Application'。
支持从 self.tr('Test "Application"') 形式源代码提取 Test "Application"。
同一目录下若存在多个要提取本地化术语的源代码文件,自动提取术语时将合并输出一个 *.TS 文件。
若不支持本地化的当前类存在 pare.tr("Test 'Application'") pare.tr('Test "Application"') 形式源代码,不提取。
When extracting localized resources, it will be automatically escaped & ' > < " \\ special characters.
Support extracting nested class definition localized resources.
| Usage Scene | File Format | Usage Scene | File Format |
|---|---|---|---|
| C/C++ Programming Language | .cpp (Still in development) | Python Programming Language | .py .pyw |
What specific formats are supported, subject to the release version.