Simple CSV files, fields separated by comma.

File Extensions .csv
API Extension csv
Format Options key_index, translation_indexes, comment_index, column_separator, quote_char, header_content_row, enable_pluralization
Import Yes
Export Yes
Pluralization supported? Yes
Descriptions/Comments supported? Yes


app_title,My Software Project,Sofware Projekt,This is the main title
apples.zero,zero apples,null Apfel,my comment
apples.one,one apple,ein Apfel
apples.many,many apples,viele Äpfel
greeting,"Hello 'User'!
How are you doing today?","Hallo 'Nutzer'
Was machst du heute?"

Format Options

Option Type Upload Download Default Description
key_index integer check close 1 Index of the column containing the key names.
translation_indexes hash check close Hash mapping each locale name to the column index it is contained in.
comment_index integer check close 3 Index of the column containing description for the key.
column_separator string check close , Char that is used to separte rows.
quote_char string check close " Char that is used to quote CSV columns.
header_content_row boolean check close false Indicates whether the first row contains only header information and should be skipped.
enable_pluralization boolean check close false Enables detection of pluralized keys. All matching keys will be persisted as pluralized keys.

File structure

A typical CSV file should be structured like this:

1 (Key column), 2 (Translation column), 3 (Comment column)
app_title,      My Software Project,    This is the main title
apples.zero,    one apple,              my comment


This format uses named categories to identify the different pluralizations of a key. The following categories are reserved for pluralization:

.zero | .one | .two | .few | .many | .other

Example key names:

This way pluralized keys can be identified, persisted and marked accordingly.
Learn more about pluralization?