All Projects → guerinoni → qTsConverter

guerinoni / qTsConverter

Licence: MIT license
A simple tool to convert qt translation file (ts) to other format (xlsx / csv) and vice versa

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
QML
638 projects
shell
77523 projects

Projects that are alternatives of or similar to qTsConverter

Length.js
📏 JavaScript library for length units conversion.
Stars: ✭ 292 (+1023.08%)
Mutual labels:  converter, convert, conversion
Hrconvert2
A self-hosted, drag-and-drop, & nosql file conversion server that supports 62x file formats.
Stars: ✭ 132 (+407.69%)
Mutual labels:  converter, conversion, xlsx
Cube2sphere
Python script to map 6 cube (cubemap, skybox) faces into an equirectangular (cylindrical projection, skysphere) map.
Stars: ✭ 120 (+361.54%)
Mutual labels:  converter, convert
Gitconverter
Синхронизация хранилища конфигурации "1С:Предприятия" с репозиторием Git и последующим переходом на разработку в 1C:Enterprise Development Tools (1C:EDT) с сохранением истории
Stars: ✭ 149 (+473.08%)
Mutual labels:  converter, convert
cpc
Text calculator with support for units and conversion
Stars: ✭ 89 (+242.31%)
Mutual labels:  converter, conversion
Wx Voice
Convert audio files between Tencent apps (Weixin / Wechat, QQ) and Silk codec with other general formats such as MP3 and M4A
Stars: ✭ 93 (+257.69%)
Mutual labels:  converter, convert
Ec2 Spot Converter
A tool to convert AWS EC2 instances back and forth between On-Demand and Spot billing models.
Stars: ✭ 108 (+315.38%)
Mutual labels:  converter, conversion
Kepubify
Fast, standalone EPUB to KEPUB converter CLI app / library (and a few other utilities).
Stars: ✭ 225 (+765.38%)
Mutual labels:  converter, conversion
Oas Kit
Convert Swagger 2.0 definitions to OpenAPI 3.0 and resolve/validate/lint
Stars: ✭ 516 (+1884.62%)
Mutual labels:  converter, conversion
caffe weight converter
Caffe-to-Keras weight converter. Can also export weights as Numpy arrays for further processing.
Stars: ✭ 68 (+161.54%)
Mutual labels:  converter, conversion
bank2ynab
Easily convert and import your bank's statements into YNAB. This project consolidates other conversion efforts into one universal tool.
Stars: ✭ 197 (+657.69%)
Mutual labels:  converter, conversion
vectorexpress-api
Vector Express is a free service and API for converting, analyzing and processing vector files.
Stars: ✭ 66 (+153.85%)
Mutual labels:  converter, conversion
Youtube Channel Name Converter
A Youtube Channel Name to ID Converter
Stars: ✭ 75 (+188.46%)
Mutual labels:  converter, convert
Ssfconv
Sogou input method skin file (.ssf file) converter, supports conversion to fcitx or fcitx5 format.
Stars: ✭ 44 (+69.23%)
Mutual labels:  converter, convert
Unitsnet
Makes life working with units of measurement just a little bit better.
Stars: ✭ 641 (+2365.38%)
Mutual labels:  converter, conversion
Gelatin
Transform text files to XML, JSON, or YAML
Stars: ✭ 150 (+476.92%)
Mutual labels:  converter, convert
csv2html
Convert CSV files to HTML tables
Stars: ✭ 64 (+146.15%)
Mutual labels:  converter, conversion
Breakdance
It's time for your markup to get down! HTML to markdown converter. Breakdance is a highly pluggable, flexible and easy to use.
Stars: ✭ 418 (+1507.69%)
Mutual labels:  converter, convert
Remarshal
Convert between CBOR, JSON, MessagePack, TOML, and YAML
Stars: ✭ 421 (+1519.23%)
Mutual labels:  converter, conversion
fp-units
An FP-oriented library to easily convert CSS units.
Stars: ✭ 18 (-30.77%)
Mutual labels:  converter, conversion

qTsConverter

linux macos w10 GitHub GitHub stars

This tool was born to convert .ts file of Qt translation in other format more editable using an office suite.

Features

  • conversion .ts -> .csv (and vice-versa)
  • conversion .ts -> .xlsx (and vice-versa)
  • automatically detect conversion type
  • convert multiple file in input

Usage (GUI version)

  • browse input filename (or multiple input)
  • choose output filename (or folder in case of multi input)
  • click convert button

To generate output.csv

example conversion ts -> csv

Usage (CLI version)

You can check the version with qTsConverter --version.

Perform a conversion:

qTsConverter ../../tests/files/scenario_multiline.ts ./lol.csv

To create an excelfile without version information / without file locations, the cli can be invoked with two command line switches.

qTsConverter --no-version --no-location ../../tests/files/scenario_multiline.ts ./lol.xlsx

Build

Simple build

mkdir build
cd build
cmake ..
cmake --build .

Simple build only CLI

mkdir build
cd build
cmake -DBUILD_CLI:BOOL=ON -DCMAKE_PREFIX_PATH=/home/guerra/Qt/5.15.2/gcc_64/ ..
cmake --build .

Linux

Compile from source and install:

$ git clone --recursive https://github.com/guerinoni/qTsConverter.git
$ cd scripts/
$ ./compile.sh
$ cd ../../build
$ sudo make install

If qTsConverter was installed with -DCMAKE_INSTALL_PREFIX=/usr/local (like compile.sh does) the shell variable LD_LIBRARY_PATH should contain /usr/local/lib and /usr/local/bin should be in the PATH variable. This allows to locate libraries that qTsConverter depends on and run it from any path.

To be able to open the output file and the output directory, xdg-mime must be set for the following filetypes:

  • application/excel
  • application/csv
  • text/csv
  • text/xml

For example:

xdg-mime default libreoffice-calc.desktop application/csv

Windows

Compile from source and install:

cmake -DCMAKE_BUILD_TYPE=Release -S . -B build_win_release
cmake --build build_win_release --parallel --config Release

As Administrator

cmake --install build_win_release
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].