C-Menu 0.2.9
A User Interface Toolkit
Loading...
Searching...
No Matches
translate_po.py File Reference

Go to the source code of this file.

Namespaces

namespace  translate_po

Functions

 translate_po.ask_ollama (text, target_lang)
 translate_po.parse_and_translate_po (filepath, target_lang)
 translate_po.split_to_po_format (text, indent=0)

Variables

str translate_po.MODEL_NAME = "mistral"
str translate_po.OLLAMA_API_URL = "http://localhost:11434/api/generate"