Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

Actions

EricTremblay
Contributor III

Is there a way to detect the language of the user's profile and display the Actions according to the chosen language?

Currently we have to display the Actions in French and English.

see image in the attached file

Thanks

6 REPLIES 6

Anonymous
Not applicable

@EricTremblay,

Archer global variables in custom object could detect current user locale, I believe:

ArcherApp.globals.locale

EricTremblay
Contributor III

@Anonymous 

Thanks

Is it possible to replace the Action name ?

See image in the attached file

Anonymous
Not applicable

I do not see image attached. But even if there would be a way, then it most likely about calling data from API and then rendering. Too much of overhead I would say. Just change user locale to needed language and use localization/globalization. However, if it is about added by user text, then it will show whatever entered by the user unless you code translation mechanism .

EricTremblay
Contributor III

Image

EricTremblay
Contributor III

Actions Rejeter Reject.png

Anonymous
Not applicable

Ah, u mean these actions. If I remember right, these are hard coded when u build AWF. So surely u can translate them based on locale as these are HTML objects in custom objects by renaming labels.