CSV datoteke¶
CSV files can contain a simple list of source and translation. Weblate supports the following files:
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.Files with two fields—source and translation (in this order). Choose Simple CSV file as a file format.
Headerless files with fields in order defined by the translate-toolkit:
location,source,target,ID,fuzzy,context,translator_comments,developer_comments. Choose CSV file as a file format.Remember to define Jednojezična datoteka osnovnog jezika when your files are monolingual (see Dvojezični i jednojezični formati).
Savjet
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).
Upozorenje
The CSV format currently automatically detects the dialect of the CSV file. In some cases the automatic detection might fail and you will get mixed results. This is especially true for CSV files with newlines in the values. As a workaround it is recommended to omit quoting characters.
Više informacija
CSV datoteka s više vrijednosti¶
Added in version 4.13.
This variant of the CSV files allows storing multiple translations per string.
See Multivalue formats for how alternatives are handled by quality checks, automatic fixes, and machine translation.
Example files¶
Example file:
Thank you for using Weblate.,Děkujeme za použití Weblate.
Datotečni sufiks |
|
|---|---|
Jezičnost ⓘ |
Jednojezične i dvojezične |
Podržava množinu ⓘ |
|
Podržava opise ⓘ |
|
Podržava objašnjenja ⓘ |
|
Podržava kontekst ⓘ |
|
Podržava mjesto ⓘ |
|
Podržava oznake ⓘ |
|
Dodatna stanja ⓘ |
|
Identifikator API-ja |
|
Podržava izraze koji su samo-za-čitanje ⓘ |
|
Supports removing obsolete strings ⓘ |
|
Weblate konfiguracija¶
Typical Weblate Konfiguracija komponente for bilingual CSV |
|
|---|---|
Maska datoteke |
|
Jednojezična datoteka osnovnog jezika |
Empty |
Predložak za nove prijevode |
|
Format datoteke |
CSV file |
Typical Weblate Konfiguracija komponente for monolingual CSV |
|
|---|---|
Maska datoteke |
|
Jednojezična datoteka osnovnog jezika |
|
Predložak za nove prijevode |
|
Format datoteke |
Simple CSV file |