Documentation on using Fluent Translation for add-on developers


I’m trying to add multiple languages to my add-on, I could use the legacy gettext but I’d rather use the new method using Project Fluent.

However from my understanding I can’t either import tools from python-fluent directly into my addon code (to compile .ftl files) and nor does Anki provide a way other than changing .ftl files (which won’t compile) that allows me to introduce new strings and their translations in my code.

How can I implement translation into my add-on?

Found the answer!
Currently addon developers are not recommended to use Project Fluent.