Localization possibilities in workflows

Hi, 

i'm working on sending some emails in an onSchedule-rule and i would like to make the messages localized. I only found an article about the localization of the default workflows but that does not really help my problem. Is there a way of finding out the configured language of the YouTrack instance without having to call the REST API?

0
3 comments
Official comment

Hi,

I’m Sergey from the YouTrack Team. Thanks for reaching out!

Workflows don't have built-in tools for custom localizations. As you discovered, localized text is only supported for default workflows.

Unfortunately, there is no way to retrieve the instance or user language from within a workflow without making a REST API call. A general workaround is to make an API call to retrieve the locale data and then adjust your workflow logic based on the returned locale.

Alright thank you for your answer

0

You are welcome! 

Feel free to reach out if there's anything else I can assist you with. 

0

Please sign in to leave a comment.