[Building Sakai] Adding Profile2 mail translations to EmailTemplateService

David Horwitz david.horwitz at uct.ac.za
Fri Apr 12 01:18:19 PDT 2013


Hi Daniel,

There is an admin tool for ETS. If you don't see it in your admin workspace just add it in the admin site tool. This allows you to add & edit templates.

D

On Fri, 2013-04-12 at 09:58 +0200, Daniel Merino wrote:


Hi everybody.

I'm sorry if this is a basic question, but we have translated to spanish
and basque the mail templates of Profile2, placed at
<SRC>/api/src/java/org/sakaiproject/profile2/emailtemplates/ and we have
added them to <SRC>/pack/src/webapp/WEB-INF/components.xml, deploying
the tool after that.

Chinese was added to Profile2 in
https://jira.sakaiproject.org/browse/PRFL-671 and I have tried to repeat
the same changes for spanish.

These changes don't seem to work Mails are sent in english though the
user has spanish as preferred language.

In the EMAIL_TEMPLATE_ITEM table are not the new values neither, for
example the connectionRequest templates have only these languages:

TEMPLATE_KEY               TEMPLATE_LOCALE
-------------------------- ---------------
profile2.connectionRequest
profile2.connectionRequest zh_CN
profile2.connectionRequest sv_SE
profile2.connectionRequest default

How can I add a new Profile2 template to ETS? Should I insert the new
rows directly in database? I would be grateful if somebody could point
me to some documentation.

Thanks in advance.
Best regards.


________________________________
UNIVERSITY OF CAPE TOWN

This e-mail is subject to the UCT ICT policies and e-mail disclaimer published on our website at http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from +27 21 650 9111. This e-mail is intended only for the person(s) to whom it is addressed. If the e-mail has reached you in error, please notify the author. If you are not the intended recipient of the e-mail you may not use, disclose, copy, redirect or print the content. If this e-mail is not related to the business of UCT it is sent by the sender in the sender's individual capacity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130412/3e7bdba3/attachment.html 


More information about the sakai-dev mailing list