openpilot
openpilot copied to clipboard
[$100 bounty] Script for doing UI translations with an LLM
Use an LLM (either OpenAI API or something local) to generate UI translations: https://github.com/commaai/openpilot/tree/master/selfdrive/ui/translations.
- local is preferred if possible (GPU required is fine), but we can use GPT4 if the translations are actually better
- there should be a flag for either doing all the translations or just filling in the unfinished ones
Hi @adeebshihadeh , can you explain this a little bit more? What exactly do we need to implement?
@adeebshihadeh I uploaded an example of automatic translation (currently using OpenAI) from an xml language file: https://gist.github.com/meirdev/fb63baa36dcaceebe7c74db07e9c339e
@meirdev would you like to open a PR fully-implemented? It should be a script you can run to fill in missing translations, or replace the entire file, for each language in https://github.com/commaai/openpilot/blob/master/selfdrive/ui/translations/languages.json