OPNsense Forum

English Forums => Documentation and Translation => Topic started by: Steffen.T on November 04, 2021, 07:07:55 pm

Title: Translation of one plugin
Post by: Steffen.T on November 04, 2021, 07:07:55 pm
Hi all.

I have written a small plugin following the hello world example in the documentation. That is just a little plugin for our company which makes some things easier for us.

I have used gettext in my sources as explained in the documentation. Now I have the po and mo files. Is there a simple way to include my translation for my plugin? All I found is the complete translation of the whole opnsense system. I think that way is not the ideal way for me because that is just a little plugin - only for me and not for the world.

I did not found any similar in this forum, so I'm just asking. Hoping that this is the right place for that question.

Thank you,
Steffen