CSV 檔案¶
CSV 檔案可以包含來源和翻譯的簡單清單。 Weblate 支援以下檔案:
Files with header defining fields (
location,source,target,ID,fuzzy,context,translator_comments,developer_comments). This is the recommended approach, as it is the least error prone. Choose CSV file as a file format.具有兩個欄位的檔案-來源和翻譯(按此順序),選擇 Simple CSV file 作為檔案格式。
無標頭文件欄位順序由 translate-toolkit:
location、source、target、ID、fuzzy、context、translator_comments、developer_comments所定義。選擇 CSV file 作為一種檔案格式。Remember to define 單語言基底語言檔案 when your files are monolingual (see 雙語言和單語言格式).
提示
By default, the CSV format does autodetection of file encoding. This can be unreliable in some corner cases and causes performance penalty. Please choose a file format encoding to avoid this (for example UTF-8).
警告
CSV 格式目前會自動檢測 CSV 文件的方言。在某些情況下,自動檢測可能會失敗,並且您會得到不同的結果。對於值中包含換行符的 CSV 文件尤其如此。作為一種解決方法,推薦省略引用的字元。
也參考
多數值 CSV 檔案¶
在 4.13 版被加入.
This variant of the CSV files allows storing multiple translations per string.
範例檔案¶
範例檔案:
Thank you for using Weblate.,Děkujeme za použití Weblate.
Weblate 配置¶
雙語言 CSV 檔案的典型 Weblate 組件配置 |
|
|---|---|
檔案遮罩 |
|
單語言基底語言檔案 |
空白 |
新翻譯的範本 |
|
檔案格式 |
CSV 檔案 |
單語言 CSV 檔案的典型 Weblate 組件配置 |
|
|---|---|
檔案遮罩 |
|
單語言基底語言檔案 |
|
新翻譯的範本 |
|
檔案格式 |
簡單 CSV 檔案 |