Refil / Blog
back to posts
Microsoft azure translator and its use in my project.
Automatically translate posts with Azure Translator
When expanding the blog, I wanted each post to be available in both Polish and English. However, manually translating each article would quickly become an additional, repetitive job, so I decided to automate it.
To do this, I used Azure Translator, Microsoft's translation service running in the Azure cloud. It provides an API to which you can send text in one language and receive a translated version of it in another.
I connected Azure Translator directly to my own blog admin panel. Thanks to this, when creating a post, I can prepare content in Polish, and the panel automatically generates its English version.
In practice, it looks something like this:
Polish post → my admin panel → Azure Translator API → English version of the post
This saves me a lot of time and means I don't have to maintain two versions of each article manually. I can still correct the generated translation before publishing, but most of the work is done automatically.
It's also a good example of why I create my own admin panel instead of using a ready-made CMS — I can add exactly the features and automations I need.