TSV2TMX(1p)
β¨ TSV2TMX β¨
okay bestie, gather round, because this little script is about to turn your boring spreadsheets into β¨translation memoriesβ¨ and honestly? it's giving main character energy π
the manual name is tsv2tmx and it lives in the 1p section (user contributed perl documentation, iykyk). it makes a TMX out of a TSV file. no cap.
πΈ VERSION πΈ
version 0.39 β yeah she's been around a minute and she still slays π«Ά
π¦ SYNOPSIS π¦
tsv2tmx [options] file.tsv ...
Options:
--help brief help message
--man full documentation
--verbose | -v activated verbose mode
--sl=EN --tl=PT describe source and target language names
--header treat first line as a heading
--columns=1,2 specify which columns to extract
--fs='::' set field separator. (separated by '::')
so like. you hand her one or more file.tsv files, you sprinkle in some options, and she does the thing. periodt. π
π DESCRIPTION π
this is literally here to help you build translation memories out of TSV files β the kind you can just casually export from spreadsheets or any other application that feels like it. it's so easy it's lowkey iconic β¨
π OPTIONS π
--helpβ prints a short lil help message and then dips. that's it, that's the whole job π--manβ prints the actual manual page and exits. hi, that's this one, you're reading it right now π--verbose,-vβ turns on verbose mode. she starts telling you what's going on, and we love a chatty queen π£οΈβ¨--sl,--tlβ use these to name your source language and your target language. like, actually name them. no guessing.--headerβ so by default this switch is on, and what that means is the TSV file has a first line with a heading up top. and here's the cute part: if you never specified source or target language names, she'll use that first line to guess them π smart girl behavior.--columns=1,2β tells her which columns to pull out. has to be a pair of integers separated by a comma. heads up bestie: column indexes start at0, not 1. default is"0,1". so like, zero-indexed, we're programmers, we know π«
also spotted in the synopsis and not to be forgotten:--fs='::'β sets the field separator. (separated by'::')
β SEE ALSO β
XML::TMX β go look at her, she's the sibling π
π AUTHORS π
- Alberto SimΓ΅es
<ambs@cpan.org> - JosΓ© JoΓ£o Almeida
<jj@di.uminho.pt>
two legends, we stan π«Ά
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2010-2017 by Projeto Natura <natura@di.uminho.pt>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
(translation: it's free, go wild, just respect the terms, ok? π)
and that's the whole page babes!! this was perl v5.38.2, dated 2024-03-09, serving TSV2TMX(1p) realness. go make some translation memories, you've got this π
β¨π
π¦ where this page comes from
- debian trixie: libxml-tmx-perl 0.39-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libxml-tmx-perl 0.39-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libxml-tmx-perl 0.39-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms