Skip to content

Releases: wasertech/Translator

Translator version 0.4.0 Beta 6

Choose a tag to compare

@wasertech wasertech released this 10 Sep 14:21
a6fddaa

What's Changed

  • Fix max_length argument type to prevent TypeError in translation pipeline by @Copilot in #22

Full Changelog: v0.4.0b5...v0.4.0b6

Translator version 0.4.0 Beta 5

Choose a tag to compare

@wasertech wasertech released this 28 Aug 22:53

What's Changed

  • Fix locale.Error: unsupported locale setting in minimal environments by @Copilot in #18

Full Changelog: v0.4.0b4...v0.4.0b5

Translator version 0.4.0 Beta 4

Choose a tag to compare

@wasertech wasertech released this 21 Aug 18:19

Small fixes and improvements.

Full Changelog: v0.4.0b3...v0.4.0b4

Translator version 0.4.0 Beta 3

Choose a tag to compare

@wasertech wasertech released this 15 Aug 12:00
871d69c

This version introduces vulnerability patches by using up to date dependencies and the ability to translate Portable Object (PO) files. Checkout the updated README file about PO translation.

❯ translate --version
ℹ Preparing to translate...
ℹ [Loading...] If this is the first time you load a particular model, it may take a while depending on your hardware, your internet connection and the model size.
ℹ La version du traducteur: 0.4.0b3
❯ translate --help
usage: translate [-h] [-v] [-d DIRECTORY] [--po] [--force] [-S SAVE] [-l MAX_LENGTH] [-m MODEL_ID] [-p PIPELINE]
                 [-b BATCH_SIZE] [-n NPROC] [-e NEPOCH] [-L] [-vv] [-i]
                 [_from] [_to] [sentences ...]

Translate [FROM one language] [TO another], [any SENTENCE you would like].

positional arguments:
  _from                 Source language to translate from.
  _to                   Target language to translate towards.
  sentences             Sentences to translate.

options:
  -h, --help            show this help message and exit
  -v, --version         shows the current version of translator
  -d, --directory DIRECTORY
                        Path to directory to translate in batch instead of unique sentence.
  --po                  Translate PO (Portable Object) files instead of text files.
  --force               Force translation ignoring cache (text files) or translate all entries including translated
                        ones (PO files).
  -S, --save SAVE       Path to text file to save translations.
  -l, --max_length MAX_LENGTH
                        Max length of output.
  -m, --model_id MODEL_ID
                        HuggingFace model ID to use.
  -p, --pipeline PIPELINE
                        Pipeline task to use.
  -b, --batch_size BATCH_SIZE
                        Number of sentences to batch for translation.
  -n, --nproc NPROC     Number of process(es) to spawn for batch translation.
  -e, --nepoch NEPOCH   Number of epoch(s) to translate batched sentences.
  -L, --language_list   Show list of languages.
  -vv, --debug          Show debug info
  -i, --interactive     Deactivate interactiveness.

Release Notes

What's Changed

  • Add PO file translation with multi-language support, target language detection, and conflicting flags validation by @Copilot in #10

New Contributors

  • @Copilot made their first contribution in #10

Full Changelog: v0.3.4b4...v0.4.0b3

Translator version 0.3.4 Beta 4

Choose a tag to compare

@wasertech wasertech released this 02 Dec 21:27
a47b9ba

Latest version of Translator.

Introduces multiples fixes and corrections to improve UX.

Full Changelog: v0.3.2b2...v0.3.4b4

Translator version 0.3.2 Beta 2

Choose a tag to compare

@wasertech wasertech released this 14 Mar 11:42

Cosmetics
Full Changelog: v0.3.2b1...v0.3.2b2

Translator version 0.3.2 Beta 1

Choose a tag to compare

@wasertech wasertech released this 14 Mar 11:27

Just some tidying up. Fix version bug.

Full Changelog: v0.3.1b7...v0.3.2b1

Translator version 0.3.1 Beta 7

Choose a tag to compare

@wasertech wasertech released this 14 Mar 00:45

Various small improvements unrelated to translation.
Full Changelog: v0.3.1b5...v0.3.1b7

Translator version 0.3.1 Beta 5

Choose a tag to compare

@wasertech wasertech released this 13 Mar 22:04

Small improvements. Console formatting, etc.

❯ translate
ℹ Welcome!
ℹ I am Translator version: 0.3.1b5
ℹ At your service.
? What would you like to translate? Manually typed sentences
ℹ Translating from: Manually typed sentences
? What language to translate from? en
ℹ Translating from eng_Latn.
? What language to translate to? fr
ℹ Translating to fra_Latn.
ℹ Preparing to translate...
Type [Ctrl] + [C] to exit.
          
What would you like to translate?
? Translate: This is a prompt-like translation shell!
C'est une coquille de traduction rapide !

What would you like to translate?
? Translate: You can quickly and effortlessly translate anything from here!
Vous pouvez traduire n'importe quoi rapidement et sans effort.

What would you like to translate?
? Translate: I hope you like my work and are considering becoming a sponsor...
J'espère que vous aimez mon travail et que vous envisagez devenir sponsor...

What would you like to translate?
? Translate:                                                                                                                                                                                 

Cancelled by user

Full Changelog: v0.3.1b4...v0.3.1b5

Translator version 0.3.1 Beta 4

Choose a tag to compare

@wasertech wasertech released this 13 Mar 20:58
9296b43

Nicest translator yet!

What's Changed

Full Changelog: v0.3.0b5...v0.3.1b4