Archivos CSV#

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 Archivo de base monolingüe when your files are monolingual (see Formatos bilingües y monolingües).

Consejo

By default, the CSV format does autodetection of file encoding. This can be unreliable in some corner cases and causes performance penalty. Please choose file format variant with encoding to avoid this (for example CSV file (UTF-8)).

Advertencia

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.

Ver también

CSV

Multivalue CSV file#

Nuevo en la versión 4.13.

This variant of the CSV files allows storing multiple translations per string.

Example files#

Archivo de ejemplo:

Thank you for using Weblate.,Děkujeme za použití Weblate.

Configuración de Weblate#

Typical Weblate Configuración de componentes for bilingual CSV

Máscara de archivos

locale/*.csv

Archivo de base monolingüe

Empty

Plantilla para traducciones nuevas

locale/en.csv

Formato de archivo

Archivo CSV

Typical Weblate Configuración de componentes for monolingual CSV

Máscara de archivos

locale/*.csv

Archivo de base monolingüe

locale/en.csv

Plantilla para traducciones nuevas

locale/en.csv

Formato de archivo

Simple CSV file