Markdown 文件¶
Added in version 5.0.
备注
我们正在开发对这种格式的支持。某些功能也许上不可用,且不同版本间的行为也不一样。欢迎从测试得来的反馈。
从 Markdown 文件中提取可翻译内容并供翻译。
备注
和其他多数格式不同,翻译文件的更改不会被导入到 Weblate,因为无法可靠地完成这一任务。翻译真实性源自 Weblate 而不是已翻译的文件。
参见
示例文件:
# Ahoj světe!
Orangutan has five bananas.
Try Weblate at [weblate.org](https://demo.weblate.org/)!
*Thank you for using Weblate.*
Weblate 配置¶
典型的 Weblate 部件配置 |
|
|---|---|
文件掩码 |
|
单语言译文模版语言文件 |
|
新语种的翻译模版 |
|
文件格式 |
Markdown 文件 |
文件格式参数 |
|
Handling duplicate strings¶
By default, Weblate treats each occurrence of a string as a separate translation unit to provide line-based context. This can be problematic in Markdown tables, where reordering rows changes the context and can lead to translation loss.
To consolidate identical strings into a single translation unit, enable Deduplicate identical strings in the 文件格式参数.
备注
Enabling this option disables line-based context for the merged units, ensuring that translations remain stable even if rows or sections are moved within the document.