From: Ben Darnell Date: Fri, 25 Mar 2011 02:21:37 +0000 (-0700) Subject: Document the fact that CSV files should not have spaces after commas X-Git-Tag: v2.0.0~111 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5970af4e7d72d0041dd22a34800143abeb8d4f91;p=thirdparty%2Ftornado.git Document the fact that CSV files should not have spaces after commas --- diff --git a/tornado/locale.py b/tornado/locale.py index b6e324b72..25eee819c 100644 --- a/tornado/locale.py +++ b/tornado/locale.py @@ -94,6 +94,9 @@ def load_translations(directory): For strings with no verbs that would change on translation, simply use "unknown" or the empty string (or don't include the column at all). + The file is read using the csv module in the default "excel" dialect. + In this format there should not be spaces after the commas. + Example translation es_LA.csv: "I love you","Te amo"