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 [...]
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, [...]
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 [...]
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 [...]