Translation of Form Tour title and description


I am currently trying to make some form tour as I find the feature pretty nice.
I found two ways of doing it. First, by creating a frappe.tour in the .js, second by using the Form Tour doctype and this one has more optons . For the .js version, translating it is easy __(“”). However, the Doctype version has its title and description in the .json and they are currently not translated.

Could you help me pinpoint how I could make them translatable ? Making the field translatable doesn’t help strangely.

These form_tour are saved as json format in a form_tour folder in the module.

It seems to me it is the get_step() function in onboarding_tour.js which should translate them, but it doesn’t seem to do so.

I am looking forward to hearing your advices.