chidiwilliams / buzz

Buzz transcribes and translates audio offline on your personal computer. Powered by OpenAI's Whisper.
https://chidiwilliams.github.io/buzz
MIT License
11.81k stars 884 forks source link

Fix for localizations, adding Latvian translatiosn #752

Closed raivisdejus closed 3 months ago

raivisdejus commented 3 months ago

Current version of msgfmt.py is producing .mo files that cause app crash with Latvian translations. Refactored it to use polib that works fine.

Also wrapping some string is translation function to make them translatable.

This PR also includes fix for macOS build from https://github.com/chidiwilliams/buzz/pull/751