WSD: Translate Mailing Scripts - Example into French Canada (fq) Language

Community Alums
Not applicable

Hi,

 

I notice that the OOB notifications with the WSD module are sent in English only. I am working on translating them to the French Canadian (fq) language for fq users. I am having trouble translating the mail scripts that are not hard-coded. For example, the dates, as it's built into the script include that comes with WSD OOB and I want to do this strategically to not change too much of the OOB implementation.

 

An example script include would be in mail script organizer_start_time, currently the start date/time is always printing in English (attached screenshot as August 16, 2023 à 08:00 AM) and I wanted to seek advice before I override the OOB script include for it to translate for French users.

 

Best,

Jonathan

1 ACCEPTED SOLUTION

Jonathan Andrei
Tera Expert

Hi,

 

I ended up copying the OOB script includes and doing the translations within it for a French User. For the date, I was able to find it in one of the script includes and pass it through an array to isolate just the month and then use gs.getMessage to translate it.

 

Once that was done, I concatenated the date fields back together.

 

Best,

Jonathan

View solution in original post

1 REPLY 1

Jonathan Andrei
Tera Expert

Hi,

 

I ended up copying the OOB script includes and doing the translations within it for a French User. For the date, I was able to find it in one of the script includes and pass it through an array to isolate just the month and then use gs.getMessage to translate it.

 

Once that was done, I concatenated the date fields back together.

 

Best,

Jonathan