DEV Community

Cover image for My single shell-command to automate the Django translation workflow
Daniel Lindholm
Daniel Lindholm

Posted on

My single shell-command to automate the Django translation workflow

I looked for an easy way to translate my Django projects with a single command, but eventually ended up building a CLI tool for it. In my shell the translation workflow now looks like this:

Image description

The command pofile populate locates the PO files in the current project and translates them using https://pofile.io as backend. I check the translations using a simple "git diff".

The command is made available by installing pofile-cli (pip install pofile-cli).
The API key can be obtained for free at https://pofile.io

I'd be keen to get feedback on the CLI tool, so feel free get in touch if you find it useful.

Top comments (0)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay