Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/azu/editable-translator
ContentEditable + Google Translator.
https://github.com/azu/editable-translator
edit editor google translate
Last synced: about 2 months ago
JSON representation
ContentEditable + Google Translator.
- Host: GitHub
- URL: https://github.com/azu/editable-translator
- Owner: azu
- License: mit
- Created: 2020-11-15T05:15:04.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-23T04:08:30.000Z (over 2 years ago)
- Last Synced: 2024-10-26T11:50:54.463Z (3 months ago)
- Topics: edit, editor, google, translate
- Language: HTML
- Homepage: https://azu.github.io/editable-translator/
- Size: 235 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @azu/editable-translator
ContentEditable + Google Translator.
- Edit original content and translate it again
- This tool support pre-editor for translateFor more details, See [自動翻訳大全 終わらない英語の仕事が5分で片づく超英語術](https://www.amazon.co.jp/dp/B08M3JC1Q1/).
## Install
Install with [npm](https://www.npmjs.com/):
npm install @azu/editable-translator
## Usage
You can get a bookmarklet via following page.
-
Usage
- Run bookmarklet: translate page
- Double Shift: Toggle edit and translate mode
- Escape: Leave edit mode and Translate the page again## API
```js
(async function main(){
const { run } = await import("https://cdn.skypack.dev/@azu/editable-translator");
run();
})();
```## Test
Run playground
yarn dev
## Changelog
See [Releases page](https://github.com/azu/editable-translator/releases).
## Running tests
Install devDependencies and Run `npm test`:
npm test
## Contributing
Pull requests and stars are always welcome.
For bugs and feature requests, [please create an issue](https://github.com/azu/editable-translator/issues).
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## Author
- azu: [GitHub](https://github.com/azu), [Twitter](https://twitter.com/azu_re)
## License
MIT © azu