AsciiDoc files

Added in version 5.16.1.

注釈

この形式への対応は開発中です。一部の機能はまだ使用できないません。動作はリリース間で変更することがあります。テスト結果のフィードバックは歓迎します。

The translatable content is extracted from the AsciiDoc files and offered for the translation.

注釈

他の多くのフォーマットとは異なり、翻訳ファイルの変更は確実に Weblate にインポートされない点に注意してください。翻訳の正確な情報源は翻訳ファイルではなく Weblate です。

参考

AsciiDoc

ファイルの例:

== Ahoj světe!

Orangutan has five bananas.

Try Weblate at https://demo.weblate.org/[weblate.org]!

_Thank you for using Weblate._

Weblate の設定

典型的な Weblate コンポーネント構成

ファイル マスク

path/*.adoc

モノリンガル用の、基礎となる言語ファイル

path/en.adoc

新しい翻訳のテンプレート

path/en.adoc

ファイル形式

AsciiDoc file

ファイル形式パラメータ

merge_duplicates=True

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 AsciiDoc 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.