johnpaulett / django-durationfield

Temporary reusable Django application for adding a DurationField, until Django issue #2443 is resolved.
http://django-durationfield.readthedocs.org
67 stars 24 forks source link

localization? #17

Open alioguzhan opened 10 years ago

alioguzhan commented 10 years ago

I would like to translate output of time duration to some languages (mainly my native Turkish). But couldn't see a locale folder. would you consider this?

johnpaulett commented 10 years ago

Yes, I would be open to localization.

It would be interesting to see what this looks like. Do we just need string translations, or do we need alternative formattting and parsing routines?

alioguzhan commented 10 years ago

In project wide strings, you already used '_' symbol to translate them. All we need to create locale folder. But in output file ( xx hours yy minutes etc) which i dont know at the moment(writing from mobile) we need to re-parse the string to let it to be translates. I will fork and review the project tonight. We can talk again tomorrow :)

Sent with doves, Ali Oguzhan Yildiz On May 25, 2014 7:46 PM, "John Paulett" notifications@github.com wrote:

Yes, I would be open to localization.

It would be interesting to see what this looks like. Do we just need string translations, or do we need alternative formattting and parsing routines?

— Reply to this email directly or view it on GitHub.