Support Request – Using i18n.t in Retool Workflows

I’m currently building a workflow where I’d like to use internationalization (i18n) to dynamically translate content based on the user’s language – ideally by using an i18n.t() function or something similar. We use it already for our apps.

Is there a way to integrate or reference i18n functionality within a Retool workflow, perhaps through the setup script or another method? I’d appreciate any guidance or best practices you could share.

Thanks in advance for your help!

Localize web apps

Welcome to the community, @Helen_Vedder! Thanks for reaching out.

I haven't specifically tested this, but you should be able to integrate i18n functionality by adding a corresponding library to your workflow runtime environment.

Note that this will be a generic implementation in the sense that it is independent of any i18n settings that you've configured elsewhere in Retool. The other caveat is that workflow runs don't inherently have a current_user associated with them. You would instead have to pass in information about the desired translation when triggering the workflow.

I hope that helps! Let me know if you have any additional questions.