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

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to