Coder Social home page Coder Social logo

Comments (2)

atykhonov avatar atykhonov commented on August 17, 2024

@fpz I think it would be great! Will try to implement that feature. Thank you!

from google-translate.

atykhonov avatar atykhonov commented on August 17, 2024

Hello @fpz !

Sorry for such a long delay. It was hard to find spare time and feature have taken some time to implement.

I just pushed, let's say, beta version of the feature. Currently it is in the inline-editing branch. If you would like you can try it, test, leave feedbacks, what you like, what not, how it could be better for you etc. Well, it will be much appreciated if you'll try it and tell how it is for you.

But anyway, in other case, I'm going to finish it during next several days (probably we will have the final version next week).

By default inline editing is disabled, you need to enable it by means of:

(setq google-translate-inline-editing t)

or

M-x customize-variable RET google-translate-inline-editing RET

Then you can translate and edit source text in the *Google Translate* buffer, then press C-c C-c to translate updated text. To change the language pair you need the following key bindings:

C-c C-s for the source language
and
C-c C-t for the target language.

You can swap the language pair by means of C-c C-r key binding.

I didn't use C-n/C-p because these key bindings by default are for the navigation within a buffer. But if you need you can always change any key bindings accordingly to your preference.

Best regards,
Andrey

P. S. Thank you for the Feature Request!

from google-translate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.