Skip to content

Instruction for adding as program in GoldenDict #3

@ghost

Description

  1. Install latest GoldenDict - https://github.com/goldendict/goldendict/wiki
  2. Download GT-bash-client master branch as ZIP and unzip translate.sh file into any regular folder (I would recommend to use default GoldenDict dictionaries folder);
  3. Launch GoldenDict;
  4. Go to menu "Edit > Dictionaries...";
  5. On "Dictionaries" window go to tab "Sources > Program" and click Add... button;
  6. In new program entry row set:
Enabled Type Name Command line Icon
☑ (check it for enable) Plain Text GT: source lng > target lng (or name it as you wish) bash <path_to>/translate.sh <source_lng> <new_lng> %GDWORD% (add link to any icon, otherwise it would be shown as "gear" icon)
  1. Click Apply and then OK buttons;
  2. Now input words or text string you wish to translate into word input field and hit Enter key on your keyboard (until Enter not pressed GoldenDict will not execute programs);
  3. That is all!

pic.1

If you need few directions (ja > en and en > fr, etc.) just repeat steps above and add few program entries with custom <source_lng> <new_lng> arguments.

Also, now you could use "Scan Popup" function to translate in any external program (web browser, text editor, book reader, etc) — just select word/text string and hit CTRL+C+C shortcut (or set custom hotkey shortcut in GoldenDict preferences).

pic.2

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions