-
Notifications
You must be signed in to change notification settings - Fork 184
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
Make Emails translatable via transifex #6025
Comments
I found a new extractor which can also extract variables from template files: |
The new extractor is better than the one we use now. But we probably need a custom solution anyways because of #5924 |
@micbar @kobergj
|
2403905
added a commit
to 2403905/ocis
that referenced
this issue
Apr 14, 2023
The transifex translation add in to the email templates. The optional environment variable NOTIFICATIONS_TRANSLATION_PATH added to config.
2403905
added a commit
to 2403905/ocis
that referenced
this issue
Apr 16, 2023
The transifex translation add in to the email templates. The optional environment variable NOTIFICATIONS_TRANSLATION_PATH added to config.
2403905
added a commit
to 2403905/ocis
that referenced
this issue
Apr 16, 2023
The transifex translation add in to the email templates. The optional environment variable NOTIFICATIONS_TRANSLATION_PATH added to config.
kobergj
added a commit
that referenced
this issue
Apr 18, 2023
Make Emails translatable via transifex #6025
ownclouders
pushed a commit
that referenced
this issue
Apr 18, 2023
Make Emails translatable via transifex #6025
86 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Email templates are currently stored in https://github.com/owncloud/ocis/tree/master/services/notifications/pkg/email/templates
Remove
RenderTemplate
code. Hardcode subjects and body as constants into atemplates.go
file.ocis/services/notifications/pkg/service/service.go
Line 90 in eb2347e
Use
Template
function to mark subjects and body as translatable stringsAdd translation steps to
notifications
service MakefileNot part of the ticket: Actually translate emails. We first need a way to determine the users preferred language.
cc @dragonchaser @mmattel
The text was updated successfully, but these errors were encountered: