DEEPIN-DES...-TS-CONVERT(1)
π DEEPIN-DESKTOP-TS-CONVERT π
okay bestie, welcome to the manual page for deepin-desktop-ts-convert, section 1 of the General Commands Manual β¨ this is the little tool that lives in the deepin-gettext-tools package and it's here to make your translation life SO much easier, no cap π«Ά
πΈ NAME πΈ
deepin-desktop-ts-convert β converts back and forth between .desktop files and .ts files, purely to make translation work less of a nightmare π
β¨ SYNOPSIS β¨
deepin-desktop-ts-convert init desktopFile outputTsDir
deepin-desktop-ts-convert desktop2ts desktopFile outputTsDir
deepin-desktop-ts-convert ts2desktop desktopFile tsDir outputDesktopFile
π¦ DESCRIPTION π¦
This manual page documents, briefly, the deepin-desktop-ts-convert command as provided by the deepin-gettext-tools package. fr fr, that's the whole vibe.
deepin-desktop-ts-convert is a utility that helps developers convert translatable strings sitting inside desktop files into .ts files, so that translation work is actually doable π and then β plot twist β the translated strings in those .ts files can be merged back into the original desktop file, all with the help of this very utility. it's giving round trip π
this whole workflow? adopted by most Deepin software. iconic behaviour honestly π
π USAGE π
- to kick things off (initialise the conversion) β use the
deepin-desktop-ts-convert initsubcommand. In this case, the source.tsfile gets dropped intooutputTsDir/desktop.ts, and your translation.tsfiles should be named likeoutputTsDir/desktop_<lang>.ts. note the underscore bestie, don't freestyle it π
deepin-desktop-ts-convert init desktopFile outputTsDir
- to refresh your
.tsfiles from a newer version of the desktop file β use thedeepin-desktop-ts-convert desktop2tssubcommand. The updated.tsfile lands atoutputTsDir/desktop.tsπ
deepin-desktop-ts-convert desktop2ts desktopFile outputTsDir
- to generate the translated desktop files β use the
deepin-desktop-ts-convert ts2desktopsubcommand. this is the moment where all your hard work becomes an actual translated desktop file, slay β¨
deepin-desktop-ts-convert ts2desktop desktopFile tsDir outputDesktopFile
π₯ SEE ALSO π₯
and if you want the deep lore, these programs are further documented in the README.md that ships with this debian package, living under the /usr/share/doc/deepin-gettext-tools/ directory π go read it, iykyk π
π AUTHOR π
deepin-gettext-tools is written by Deepin Technology Co., Ltd.
This manual page was written by Boyuan Yang for the Debian Project (but may be used by others). shoutout to Boyuan, main character energy fr π
Deepin Gettext Tools πΈ 2017-08-11 π that's the source and the date bestie, we're done here β go convert some strings, you've got this πβ¨π¦
π¦ where this page comes from
- debian bookworm: deepin-gettext-tools 1.0.10-1 Β· GPL-2.0-or-later
- debian trixie: deepin-gettext-tools 1.0.11-1 Β· GPL-2.0-or-later
- ubuntu jammy: deepin-gettext-tools 1.0.8-5 Β· GPL-3.0-or-later
- ubuntu noble: deepin-gettext-tools 1.0.10-1 Β· GPL-2.0-or-later
- ubuntu questing: deepin-gettext-tools 1.0.11-1
- ubuntu resolute: deepin-gettext-tools 1.0.11-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: deepin-gettext-tools 1.0.11-1build1 Β· GPL-2.0-or-later
- Copyright 2017 Boyuan Yang <073plan@gmail.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms