Multi-language Calendar and CSV export
-
Hi again,
When a calendar is used in a multi-language environment, (for instance english and french), the forms associated with the reservations are stored according to the language selected for the display of the calendar.
Unfortunately, when doing a CSV export of the reservation, if the labels of the fields of the forms are not identical (it’s what you can expect in a multi-language environment), the columns of the CSV file are not correctly set.
The first line of the CSV file, which give the list and the title of the columns, will list two versions of the same form (in en and fr for instance) while the following lines (containing the data) will not take care of the language.
An example: the form contact is made of two text fields: en:{ ‘Last Name’, Email’}, fr:{‘Nom’, ‘Email’}The first line will look like: (a,b,c the other fields)
a,b,c,Last Name, Email, NomThe following lines are:
value_a,value_b,value_c,Bob, bob@domain
value_a,value_b,value_c,Robert, robert@domainAnd so, we have 6 columns defined in the first line while we have only 5 columns in the data lines, which is not compliant with the RFC 4180, describing the CSV fiel format.
Could you improve the production of the CSV file ?
The topic ‘Multi-language Calendar and CSV export’ is closed to new replies.