GSoC 2010 – finished! – general summary

Yesterday (16.08.2010) Google Summer of Code 2010 has finished. It was great experience for me and I’m very thankful for being allowed to participate. I’ve learned many new things and I definitely improved my programming skills. I’m also happy because part of my work will hopefully be present in a web application framework which I [...]

GSoC 2010 – week summary: August 9th – August 15th

I continued the code cleaning this week. My goal was to remove all “magic strings” – places where few different string values are accepted as parameter. I created bunch of constants in appropriate classes, and added value checking where needed, so it’s now clear what values can be passed to methods.
After that I returned to [...]

GSoC 2010 – week summary: August 2nd – August 8th

This week I decided to do the code cleaning. I reviewed each and every file and improved naming, comments, and other minor readability issues. I also largely modified some tests, mainly older ones where I’ve been using bad approach to test cases (named like “methodNameWorks()” ;-)). I also improved code coverage (it’s now way more [...]

GSoC 2010 – week summary: July 26th – August 1st

I started this week with various code improvements / cleaning (r4910). Then I moved the formatting functionality from classes NumbersReader and DatesReader to NumberFormatter and DatetimeFormatter accordingly (r4913, r4920). I didn’t do this earlier as I wanted to encapsulate all CLDR-specific code in Readers, but when I started to work on Parsers it came obvious [...]

GSoC 2010 – week summary: July 19th – July 25th

This week I was working on the parsers: NumberParser and DatetimeParser. When I’ve decided how should they look I started to implement them. Parsers will have two modes of work: strict and lenient. In strict mode, parser tries to match elements of provided string exactly as they are defined in the format (pattern). In lenient [...]

GSoC 2010 – week summary: July 12th – July 18th

Translator
I implemented the Translator class this week. The Translator class is meant to be used for messages’ translation (of course ;-)), and it has pretty interesting functionality. This class is a place where almost all functionality I wrote up to today meets.
First of all, the Translator has two modes of operation: translating by original label, [...]

GSoC 2010 – week summary: July 5th – July 11th

This week I was working on the message translation feature. I implemented XLIFF file format support. XLIFF is standardized XML format for storing translated messages (labels). There are few translation tools available that support this format (some are still beta though), but there are also converters from/to widely known Gettext’s PO file format.
As Gettext natively [...]

GSoC 2010 – 3 weeks summary: June 14th – July 4th

This summary is a little bit unusual as it summaries 3 weeks and not 1 :-). This was pretty busy time for me at univ as with the end of the semester few projects and exams were need to be done / taken. So I focused on these and informed my mentor that I will [...]

GSoC 2010 – week summary: June 7th – June 13th

My goal for this week was to implement a class for formatting date and / or time. I created a class DatesReader, which is, like NumbersReader and PluralsReader created before, kind of wrapper for particular tags of CLDR XML data, providing an API for using this data in FLOW3 framework.
DatesReader parses most data from dates [...]

GSoC 2010 – week summary: May 31st – June 6th

After implementing CLDR reader last week, I focused on various classes which would use data from Common Locale Data Repository.
I started with PluralsReader, a class which will be used in messages (labels) translation process. This class basically returns a form-name (a string, one of: zero, one, two, few, many, other) for a pair of locale [...]