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.