New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to tzinfo #61
Conversation
Add pt_BR translations
Thank you. I cherry-picked your change from above pull request. Due to maintenance issues I had in the past I'm not keen in to include other languages in the app right now. |
@bartTC, Could you explain me what problems did you have with i18n, so that we can find a solution to it? I can't see a problem and having Dpaste (not a fork) in Portuguese would make my life easier. (: |
@bartTC ? |
@bartTC is that your final word about localization? |
Yes, and no. I was looking into https://www.transifex.com/ on how to optimize and automate the whole procedure. Give me some time please. |
@bartTC I'm working with a university in Brazil and we are using your lib in the a project for our Federal Senate and also in the Ministry of Planing. Unfortunately we can't afford to have the dpase in English (we are even doing the translation work for Gitlab). Currently we are installing dpaste from our fork but one of my tasks today is to ensure we don't install things directly from the repos. If you need help to maintain the i18n of your project I can step in to help. Is it ok if I open a new PR with @rougeth 's translations? Cheers! |
@bartTC any updates? I'm currently working on forking dpaste (as I was told to) but that seems so much waste of time and effort. |
@seocam I'd love to have help with translations. The problem I have is less the merges, those are easy. it's hunting people before a new release, in case string is added or changed. Transifex kinda solves this problem because it's huge userbase and simple interface. But if you can do that instead, I'd be thankful. I'll give you repo access. |
awesome! I'm already creating the org and project on Transifex. Thanks @bartTC!! |
The problem was that
datetime.datetime.now()
always return a naive datetime object and, in my case, time zone was enabled.django.utils.timezone.now()
checkUSE_TZ
and returns a proper object.