Skip to content

This python code can translate your code files written with chinese strings into english 😁

Notifications You must be signed in to change notification settings

mrbeandev/code_translater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Code File Translater

This python code can translate your code files written with chinese strings into english 😁.You can use the desigred code there are 3 types

  • tran_sql.py is used to translate a .SQL file
  • tran_php.py is used to translate a .PHP file
  • tran_html.py is used to translate a .HTML file
  • tran_folder.py is used to translate a complete folder with .PHP files

I reommend you to use the correct code for the correct file extension.

Requirements

Installation

  • pip3 install googletrans==3.1.0a0

Usage

  • python3 tran_sql.py myfile.sql (specify the file or folder you want to translate)

About

This python code can translate your code files written with chinese strings into english 😁

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages