TSV2TMX(1p)

πŸ“¦
version 0.39 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

✨ 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 at 0, 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 🫢


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