The CreatorCon Call for Content is officially open! Get started here.

Notification variable not getting translated

Kevin Paul
Mega Guru

Hi,

For translation of notifications, we have created notification in each language(french and english). For one of the french notifications, there are variables added in the message body. This notification is created in the sc_request table.

find_real_file.png

I have changed the language of the recipient to french in the user table and as well as changed the language in profile to french. Look at the image below, the ui is now in french. The field impact's value is translated here.

find_real_file.png

 

However when the notification is triggered, you can see the word, 3 -Medium is not translated. The same word is translated as 3 â€“ Modérée in the above image, which is taken from the sc_request table from which the variable is used in the notification record.

find_real_file.png

 

How to fix this and translate that variable's value. The translated value is already available in the sys_choice table, but why it does not appear in the notification still remains unclear (language is set to french both in the user table and in the preferences table) .Any workaround/help is appreciated.

Thanks in advance!

26 REPLIES 26

but for all the varivariables I have that problem... what can I do??

but for all the varivariables I have that problem... what can I do??