Skip to content

Helper script to automatically translate TS file using google translate.

License

Notifications You must be signed in to change notification settings

bgallois/TSranslator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

TSranslator

TSranslator is a Python script to automatically translate Qt TS files using google translate.

  1. Generate the TS file lupdate-pro src/MyProgram.pro translations/MyProgram_fr.ts
  2. Translate file python TSranslator translations/MyProgram_fr.ts

Parameters:

  • TSranslator can take a list of TS files. The output language is deducted directly from the input file.
  • -d do not modify the TS file
  • -i list of words to exclude from the translation (-d "MyProgram" "No translation")

About

Helper script to automatically translate TS file using google translate.

Topics

Resources

License

Stars

Watchers

Forks

Languages