[Chandler-dev] Date/time auto-completion patch

Brian Kirsch bkirsch at osafoundation.org
Wed Sep 13 14:48:11 PDT 2006


Hello,
I added a Localizing DateTime Parsing header to the wiki:
http://wiki.osafoundation.org/bin/view/Journal/DateTimeParsing

When you get a chance can you add to the wiki detailed information on 
how the
DateTime parsing module handles localized parsing.

Thanks,
Brian


Darshana Chhajed wrote:
> Hi Brian,
>
>> How do the other natural language strings such as "dinner" get 
>> localized?
>
> I have created a dictionary of all the single word natural language 
> strings recognized by parsedatetime mapped to the localised version of 
> those strings like {'Dinner':_(u'dinner'), 'Lunch':_(u'lunch')...}. I 
> match the localized string and then use the English version for 
> parsing which parsedatetime already knows how to parse.
>
>>
>> Is this localization of natural language strings documented anywhere 
>> such as Wiki?
> I havent documented this on the Wiki yet :(
>
> Bye,
> Darshana
>

-- 
Brian Kirsch 
Internationalization Architect / Mail Service Engineer
Open Source Applications Foundation
543 Howard Street 5th Floor
San Francisco, CA 94105
http://www.osafoundation.org



More information about the chandler-dev mailing list