[Building Sakai] Adding Profile2 mail translations toEmailTemplateService

Daniel Merino daniel.merino at unavarra.es
Fri Apr 12 01:33:42 PDT 2013


Thanks, David.

We have used Admin ETS in the past to translate emails, but looking the 
changes in that JIRA and the existing xml files, I thought that this 
time it was a different case.

If these XML templates are not used, IMHO they should be removed or 
maybe completed with some comments pointing to Admin ETS, as they are 
confusing.

Best regards.

David Horwitz escribió:
> 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. 

-- 
Daniel Merino Echeverría
daniel.merino at unavarra.es
Gestor de teleformación - Centro Superior de Innovación Educativa.
Tfno: 948-168489 - Universidad Pública de Navarra.
--
Prefiero agitarme en la duda que descansar en el error. (Alejandro Manzoni)


More information about the sakai-dev mailing list