WebUI Auto Translator

tool

Automatically translates both messages and UI elements

nnaoycurt
@nnaoycurt
·
2 years ago
1.8K
0
3.9K
Created Oct 27, 2024
webui_auto_translator.py
Python · 278 lines
"""
title: WebUI Auto Translator
description: Automatically translates both messages and UI elements
version: 1.0.0
requirements: deep-translator,beautifulsoup4
"""

import json
import hashlib
from typing import Optional, Dict, Any, Union
from deep_translator import GoogleTranslator
from bs4 import BeautifulSoup

Automatically translates both messages and UI elements


0