Skip to content

nen777w/ts_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ts_tool

Utility for extracting strings from .ts files for translation services.

HOW TO USE:

ts_tool.exe --src v:\PROJECTS\CODIJY\ColorMagicGUI\translations\ColorMagic_EN.ts --dst t:\test\ --mode TXT

The utility take input .ts file, parse it with priority for tag (if is empty it use the ) and generate two files on output:

.ts file with hash's .txt file in format [hash] "String for translation" i.e. for example .ts: ...

Arm Tool [08F5B2DC] ...

.txt: ... [08F5B2DC] "Arm Tool" ...

Then you can send .txt file for translation. After translation for insert translated strings back to .ts file use this command:

ts_tool.exe --src t:\test\ --dst v:\PROJECTS\CODIJY\ColorMagicGUI\translations\ColorMagic_EN.ts --mode TS

Additinal options:

--with-unfinished - for include unfinished records to result .txt file. --with-vanished - for include obsolete records to result .txt file.

About

Utility for extracting strings from Qt .ts files for translation services.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published