Skip to content

Latest commit

 

History

History
83 lines (60 loc) · 2.94 KB

README.md

File metadata and controls

83 lines (60 loc) · 2.94 KB

Argos Translate GUI

Website | GitHub | PyPI

Graphical user interface for Argos Translate.

Screenshot Screenshot2

Install

pip3 install argostranslategui


Snapcraft

Build and install snap package

  1. Install snapd if it isn't already installed.
  2. Using snapd install snapcraft and its dependency multipass:
sudo snap install multipass
sudo snap install --classic snapcraft
  1. Clone this repo:
git clone https://github.com/argosopentech/argos-translate-gui.git
  1. From the root directory of this project build the snap package:
cd argos-translate-gui
SNAPCRAFT_BUILD_ENVIRONMENT_MEMORY=4G snapcraft

Any unzipped package files in package/ will be automatically included in the snap archive (and won't be able to be deleted by users of the snap).

Note, the build won't run with Snapcraft's default build memory of 2GB so you need to set the SNAPCRAFT_BUILD_ENVIRONMENT environment variable. More on Snapcraft forum.

  1. Install the snap package:
sudo snap install --devmode argos-translate_<version information>.snap

Install from Snap Store

Argos Translate is available from the Snap Store and auto installs a content snap to support translation between Arabic, Chinese, English, French, Russian, and Spanish. Additional languages can be installed from supplementary content snaps.

With snapd installed:

sudo snap install argos-translate

Get it from the Snap Store

Automatically installs and connects to argos-translate-base-langs snap to support translations between Arabic, Chinese, English, French, Russian, and Spanish.

Additional languages can be installed from *.argosmodel files or from supplementary content snaps:

  • argos-translate-de-en - German - English
  • argos-translate-en-it - English - Italian
  • argos-translate-en-pt - English - Portuguese

To connect automatically: sudo snap connect argos-translate:argos-packages argos-translate-en-it:argos-packages

To run command line interface on Snapcraft:

argos-translate.cli --help

Uninstall Snap

The following command will uninstall the snap package.

sudo snap remove argos-translate argos-translate-base-langs

If you installed additional language packs, you might want to remove them as well, e.g.

sudo snap remove argos-translate-de-en