Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.92 KB

README.md

File metadata and controls

42 lines (31 loc) · 1.92 KB

logseq-translate-plugin

⚔️ Functions

  • Select text to show a translate dialog.
  • Click more link of the dialog to search selected text at Google Translate.
  • You can modify you language in the plugin settnigs file. Apply the settings by reloading the plugin. Reference languages.js. to find the language code/name.

📽️ Demo

demo

⚙️Install

Prepare enviroment: Install yarn in Windows

  1. Download and install nodejs.
  2. Download nvm-setup.zip at nvm-windows.
  3. Unzip nvm-setup.zip and install nvm-setup.exe.
  4. Download and install yarn msi.

Install plugins

  • If you can't find this plugin in the marketplaces, do the following steps to get it.
  • You will get a folder name as logseq-translate-plugin after clone this repository. git clone https://github.com/zhihau/logseq-translate-plugin.git
  • Change the directory to logseq-translate-plugin. Right click menu and click Git bash here
  • Execute command yarn.
  • Execute command yarn build.
  • Click the three dot button at the top toolbar. Then click the Settings. Or press t s in the page view mode.
  • Click Advenced tab.
  • Turn on the developer mode.
  • Click the three dot button at the top toolbar. Then click the Plugins. Or press t p in the page view mode.
  • Click Load unpacked plugin and select the folder logseq-translate-plugin.
  • Turn on this plugin.

💖 Buy me a coffee

If the plugin solves your problem, you can buy me a coffee via this link.

License

MIT