Flat XML 檔案

也參考

Flat XML

在 5.13 版的變更: The tag and attribute names can now be customized using 檔案格式參數.

Example of flat XML files:

<?xml version='1.0' encoding='UTF-8'?>
<root>
  <str key="hello_world">Hello World!</str>
  <str key="resource_key">Translated value.</str>
</root>
<?xml version='1.0' encoding='UTF-8'?>
<dictionary>
  <entry name="hello_world">Hello World!</entry>
  <entry name="resource_key">Translated value.</entry>
</dictionary>

Weblate 設定組態

典型的 Weblate 組件組態

檔案遮罩

locale/*.xml

單語的基底語言檔

locale/en.xml

新翻譯的模板

檔案格式

Flat XML file