Translation of module menus

Hello,

I saw in the last Rack version the possibility to have different languages in Rack’s menus. That’s great!

Is it technically possible now to have different languages in module menus? I can make these translations from English into French for a couple of Rack developers, but don’t know if it’s technically possible…

Alain

1 Like

Rack has made no facilities available for plugins to do their own localization. It also can’t reasonably be done without changes to the plugin from the developer.

That said, it’s really not difficult to implement. I might work up an example with support code and a demo to show how its done, but I need to finish my current project first. I’ll contact you when the time comes to do fr, if I end up doing that.

2 Likes

Ok!

Hi there,

Did you have time to work on that? Alain. :smiley:

No, I haven’t, but if you want this for your module, it’s pretty easy to copy what Rack does – it’s not a much code.

There’s more work if you want to support language-specific panel SVGs, but again not too much unless translation of a panel graphic means needing to position controls differently.

The simple stuff is simple, but when you dig into it, it can get complex. Luckily these anomalies things can usually be finessed by clever visual design.

Thank you for your quick response! It’s not for me, I’m not a VCV Rack developer. It’s just to translate into French some collections I use and love! It could be a way to help the community, why not :wink:.

Alain

1 Like

This isn’t something you can do after the fact for an existing module. Support must be built into each plugin that wants to allow for translation. Do you have plugin developers signed up to enable it?

I’ve planned to translate sort of resource files they will give me. I did that several times ago for other software in Java and other languages…

Alain