dj-diabetes
dj-diabetes copied to clipboard
RFE: l10n support
Thanks for sharing this. I'd like to suggest adding support for localization. I believe strings are hardcoded in English for now.
I'd be interested in translating to French.
aucun problème 😉 je vais mettre à jour django comme d'habitude et remplacer les chaînes codées en dure par{% trans '....'%}
Oh! C'est donc pour ça qu'il y avait quelques traces de français dans l'interface :)
au final j'ai déjà mis du trans
partout ; il en maque juste dans le forms/*.py où je n'ai pas mis _() en label de chaque champ
(continuing in English for other contributors benefit)
After this is done I suppose .po files would be generated/supported? How will this be managed?
https://docs.djangoproject.com/en/2.0/topics/i18n/translation/ should be the path to follow