Skip to content

Allows you to start Pyugt completely offline to use it with LibreTranslate without asking an external site for localization

Notifications You must be signed in to change notification settings

MoonDragon-MD/pyugt-patch-offline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyugt patch offline

Allows you to start Pyugt completely offline to use it with LibreTranslate without asking an external site for localization

Requirements:

  • Python (I used 3.6.8)
  •  pip install ssl flask
    
  • pyugt ( https://github.com/lrq3000/pyugt/ )
  • edit the windows "HOSTS" file and add:
  •    127.0.0.1 geolocation.onetrust.com #[pyugt patch offline]
    
  • edit RUN.bat (change the path to folders based on your installation location)
  • put the contents of the “certifi” folder in the pyugt installation folder and overwrite
  • LibreTranslate (Argos) [localhost:5000]

LibreTranslate on Docker Or there are other ways: LibreTranslate Github

Usage:

start the RUN.bat file you will be prompted to type “China” and then everything will work

About

Allows you to start Pyugt completely offline to use it with LibreTranslate without asking an external site for localization

Resources

Stars

Watchers

Forks