[cal10n-dev] Better annotations?

Rick Beton rick.beton at gmail.com
Fri Sep 4 13:15:15 CEST 2009


2009/9/4 Ceki Gulcu <ceki at qos.ch>

> <snipped>
>
> Can you think of a more elegant approach which still allows the user
> to designate the charset for a given locale?<http://qos.ch/mailman/listinfo/cal10n-dev>
>


Hmm - it has become rather messy.  Can I suggest an alternative tack:
require the properties files to be always UTF-8 (or UTF-16 with a BOM).
Then the original simple syntax is viable.  KISS principle.

As far as producing UTF-8 files is concerned, I imagine a spreadsheet
'compiler' that will take a CSV, ODS or XLS file and extract the necessary
separate properties files bundle.  The spreadsheet would be a simple single
sheet containing the keys in the first column and any number of translation
strings in the following columns, each of which has the locale name as its
header (e.g. "en_UK ").

Rick
-- 
Big Bee Consultants Limited : Registered in England & Wales No. 6397941
Registered Office: 71 The Hundred, Romsey, Hampshire, SO51 8BZ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/cal10n-dev/attachments/20090904/0ec428c1/attachment.htm>


More information about the cal10n-dev mailing list