0

django-registration is missing some translations for german.
See github Search for "". Translations are were but "broken".

I don't want to fork or change localization files localy. Is it possible to provide translation for some strings in my app/project?

Stefan Weiss
  • 461
  • 1
  • 6
  • 20
  • Did my answer helped you someway? If so, mark it as accepted. That's a good practice in StackOverflow! – nik_m Mar 08 '17 at 08:33

1 Answers1

0

You just mention the 2 methods that are candidates for the translation of a string. If you do not want to fork the project nor change the localized files then I believe there is no other way of translating it.

Last resort method: Make an identical file of django-registration that includes the to-be-translated string and add translations there.

IMO the only way is to fork the project, run ./manage.py makemessages and voila! Translations are there. Another thing you can do is to try to contribute to this package by fork it first and then make a pull request! That's the beauty of open sourcing!

nik_m
  • 11,825
  • 4
  • 43
  • 57
  • What does it mean "make and identical file"? identic to what? and where? – Stefan Weiss Mar 08 '17 at 08:44
  • My apologies. Please, disregard the last resort option. The only way is to fork the project and make translations locally. Answer updated! – nik_m Mar 08 '17 at 08:52
  • as mentoned in the question this is not an option for me – Stefan Weiss Mar 08 '17 at 09:12
  • Then, my friend, I believe there is no other option. Thats the price you pay when using third-party packages. On the other hand, because I have been in your place with another package, I made a pull request to suggest the changes, they accepted them and now I'm not using my forked version, but the official one! – nik_m Mar 08 '17 at 09:19