How to work on .ts files ?
How to work on .ts files ?
Hello,
I've contributed a bit on some MX french translations.
Some files are .txt (no problem to work on with text editor), but some others are .ts . How could I open and modify these .ts files ?
Thanks.
I've contributed a bit on some MX french translations.
Some files are .txt (no problem to work on with text editor), but some others are .ts . How could I open and modify these .ts files ?
Thanks.
Re: How to work on .ts files ?
.ts files are part of the MPEG2 codec. You can open and work on them with Avidemux (it's in the repos).
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
Aspire V5-571; CPU Intel I3; 500 GB SSD; Intel 2nd Gen Graphics; 8 GB Ram
Aspire XC-866; i3-9100; UHD 630; 8 GB ram; 1TB HDD
In Linux, newer isn't always better. The best solution is the one that works.
Aspire V5-571; CPU Intel I3; 500 GB SSD; Intel 2nd Gen Graphics; 8 GB Ram
Aspire XC-866; i3-9100; UHD 630; 8 GB ram; 1TB HDD
In Linux, newer isn't always better. The best solution is the one that works.
Re: How to work on .ts files ?
Hmm.
I don't find it in stock repos nor in the test repo.
Do you have a link?
I don't find it in stock repos nor in the test repo.
Do you have a link?
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
- mmikeinsantarosa
- Developer
- Posts: 2200
- Joined: Thu May 01, 2014 10:12 am
Re: How to work on .ts files ?
It can be downloaded but we're not allowed to store it in our repos.
It uses some proprietary codecs.
All the download links and ppa's I could find right now are pretty old. So no immediate additional advice from me here.
I could investigate this later in the week and see if I can build something for you.
I've built it before.
- mike
LT: MX19.1 Quad Core model: Intel Core i7-6820HQ Kernel: 5.0.0-7.1-liquorix-amd64 x86_64
Re: How to work on .ts files ?
Since this is in the Translations forum, I think OP is asking about how to translate QT .ts files, not transport streams in mpeg.
(1) There is a QT tool called QT Linguist that deals directly with .ts files. But it is far more complex and does things that we don't require.
(2) You could "download for translation" the file for your language and resource from Transifex, and edit that with a text editor. Simpler, but prone to error.
(3) It will be much easier to simply make your translations directly on Transifex. It is easy to use, and you won't step on other's toes. It sounds as if you already have a Transifex account (unless you are doing these translations just for yourself?) Why not use it.
(1) There is a QT tool called QT Linguist that deals directly with .ts files. But it is far more complex and does things that we don't require.
(2) You could "download for translation" the file for your language and resource from Transifex, and edit that with a text editor. Simpler, but prone to error.
(3) It will be much easier to simply make your translations directly on Transifex. It is easy to use, and you won't step on other's toes. It sounds as if you already have a Transifex account (unless you are doing these translations just for yourself?) Why not use it.
Re: How to work on .ts files ?
Many thanks to everyone for answering. Yes I meant translation files.
Thanks for advice. I used to work with downloading text files but your third suggestion seems the best choice.Old Giza wrote: ↑Thu Aug 09, 2018 2:17 pm Since this is in the Translations forum, I think OP is asking about how to translate QT .ts files, not transport streams in mpeg.
(1) There is a QT tool called QT Linguist that deals directly with .ts files. But it is far more complex and does things that we don't require.
(2) You could "download for translation" the file for your language and resource from Transifex, and edit that with a text editor. Simpler, but prone to error.
(3) It will be much easier to simply make your translations directly on Transifex. It is easy to use, and you won't step on other's toes. It sounds as if you already have a Transifex account (unless you are doing these translations just for yourself?) Why not use it.
Re: How to work on .ts files ?
Qt ts files are text files, just in a specific format. You can edit them with any text editor if you take care not to mess up the formatting, just like xml files.
Re: How to work on .ts files ?
Not sure I understand. I found Qt Linguist is fairly easy to use.
For off-line editing of Qt-translation / language .ts-files it seems to me optimal.
See the attached screen-shot. How to install Qt Linguist:
Qt Linguist is part of the package qttools5-dev-tools. Install it
either from MX Package Installer, Synaptic or the command-line like:
Code: Select all
sudo apt-get install qttools5-dev-tools
Find below the „Qt Linguist“ desktop-starter with the proper Mime association for Qt .ts-files:
Code: Select all
[Desktop Entry]
# destop-starter manually created by fehlix
# save as (home-dir)/.local/share/applications/qtlinguist.desktop
Type=Application
Name=Qt Linguist
GenericName=Qt Linguist tool to translate text
Comment=Translators can use the Qt Linguist tool to translate text in Qt applications.
Exec=/usr/lib/x86_64-linux-gnu/qt5/bin/linguist %F
Icon=qtLinguist5
Terminal=false
MimeType=text/vnd.trolltech.linguist;
Categories=Qt;Development;IDE;
Icon=QtProject-linguist
Copy like this from the command line:
Code: Select all
cp qtlinguist.desktop ~/.local/share/applications
Attached a view of Qt Linguist with .ts file for MX Boot Options in French.
You do not have the required permissions to view the files attached to this post.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
Re: How to work on .ts files ?
Thanks Fehlix.
That is easier than editing between the tags. :)
Installed qtlinguist, just in case internet dies again.
@mikeinsantarosa, thanks for the offer, but this is solved for now.
And now that internet is live again, Transifex direct is great.
That is easier than editing between the tags. :)
Installed qtlinguist, just in case internet dies again.
@mikeinsantarosa, thanks for the offer, but this is solved for now.
And now that internet is live again, Transifex direct is great.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.