mirror of
https://github.com/nsupdate-info/nsupdate.info.git
synced 2026-04-25 08:35:56 +03:00
[GH-ISSUE #182] add language to user profile, use it to translate email content #169
Labels
No labels
bug
bug
duplicate
easy
easy
enhancement
enhancement
invalid
needs help
pull-request
scalability
security
task
urgent
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsupdate.info-nsupdate-info#169
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThomasWaldmann on GitHub (Nov 23, 2014).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/182
to send translated messages to users (e.g. by email), we need their language in the user profile.
after this, we can do it like shown there for all places where send_mail is invoked:
http://stackoverflow.com/questions/8683676/django-sending-localized-emails-depending-on-userprofile-language-field-data
@ThomasWaldmann commented on GitHub (Nov 25, 2014):
userprofiles implemented by cs
aa425c3402@ThomasWaldmann commented on GitHub (Nov 27, 2014):
translatable messages:
ae61712fbcand58aae90b0a@ThomasWaldmann commented on GitHub (Nov 27, 2014):
todo: unify/move translatable strings to some common location (at least for management commands), update .po files / transifex.
@ThomasWaldmann commented on GitHub (Jan 9, 2015):
wanted to use templates, blocked by: https://code.djangoproject.com/ticket/24111
bug already closed as wontfix and the option i tried to use will go away again in django again.
in django 1.8 there will be a solution for email templating.
@ThomasWaldmann commented on GitHub (Jan 10, 2015):
keep this on hold until we have a minimum requirement of django 1.8, so we can use its email templating.