Translate a plugin

Hello,

I am developping a plugin to control led color, with a new widget in the control section.
Here it is :


As you can see all the labels are only ids I used in the code, not the actual messages.
Here is the file translations/messages.pot

Also I created a french translation, as my current locale is in french, and I still get the same result.

Could you help me to fix it please ?
I did not find much documentation regarding plugin locale and translation...

Thank you

I usually reference @OllisGit's knowledgebase for this stuff. I think the trick is that you have to compile for it to distribute with your plugin.

Amazing,

Thank you very much, it helped me.
Once translation files created with python setup.py babel_new --locale=fr, I missed to issue babel_compile and babel_bundle :slight_smile:

1 Like

It's really exactly the same as with translating core: