GithubHelp home page GithubHelp logo

emacsmirror / ob-translate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from krisajenkins/ob-translate

0.0 4.0 0.0 9 KB

Translation of text blocks in org-mode

Home Page: https://github.com/krisajenkins/ob-translate

Emacs Lisp 100.00%

ob-translate's Introduction

Org Babel Translate

Translate text in Emacs’ org-mode blocks, like so:

This is a test.

#+RESULTS:
: Dies ist ein Test .

Or with multiple destination languages:

This is a test.

#+RESULTS:
| de | Dies ist ein Test . |
| fr | Ceci est un essai . |
| ar | هذا هو الاختبار.    |
| ja | これはテストです。  |

Installation

If you’re hooked up to MELPA:

M-x package-refresh-contents
M-x package-install RET ob-translate

Alternatively just grab the single ob-translate.el file and install that in your preferred way.

Status

Beta. It works for me, but I’ll bet there are some character encoding issues in there for some languages. Please file an issue if you spot a problem.

Options

Each block supports the following arguments:

ArgumentDescriptionExampleDefault
:srcSource language.#+BEGIN_SRC translate :src de‘auto’ (for auto detection).
:destDestination language(s).#+BEGIN_SRC translate :dest it,fr‘en’ (for English).

:dest may be a single country-code, or a comma-separated list.

All defaults are customizable with M-x customize-group RET ob-translate.

ob-translate's People

Contributors

krisajenkins avatar purcell avatar stardiviner avatar

Watchers

 avatar  avatar  avatar  avatar

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.