LaTeX forum ⇒ Math & ScienceTranslate from German to English

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
micatske
Posts: 1
Joined: Mon Feb 27, 2017 11:51 pm

Translate from German to English

Postby micatske » Mon Feb 27, 2017 11:54 pm

I just get LaTeX source code from my friend for one of the lectures in Germany. Is there any easy way to translate the German document into English?
I would like to give a example of what I am going to translate.

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \begin{Definition}
  2. Eine \textbf{parametrische Kurve} ist eine stetige Abbildung $c : I \rightarrow X$, wobei $X$ eine topologischer Raum ist. Sei $(X,d)$ darüber hinaus ein metrischer Raum. Dann definieren wir
  3. \begin{equation*}\label{key}
  4. L(c) = \sup \left\{ \sum_{i=1}^{h} d \left( c(t_{i-1}),c(t_i) \right) \suchthat t_0 \leq t_1 \leq \cdots \leq t_k \in I \right\}.
  5. \end{equation*}
  6. als die Länge von $c$ bezüglich der Parametrisierung $h$.
  7. \end{Definition}
  8.  
  9. Wenn $h$ verkleinert wird, kann die Länge $L(c)$ nicht kleiner werden. Eine Kurve heißt rehlifizierbar falls $L(c) < \infty$. Eine Kurve kann auch Umparametrisiert werden: Sei $\varphi : I \rightarrow \widetilde{I}$ stetig, surjektiv und monoton. Dann folgt für $t < t'$ das $\varphi(t) \leq \varphi(t')$ oder $\varphi(t') \leq \varphi(t)$. Definiere $\widetilde{c} := c \circ \varphi : \widetilde{I} \rightarrow X$ and we have $\widetilde{L}(c) = L(c)$.
Last edited by cgnieder on Thu Mar 02, 2017 8:48 pm, edited 1 time in total.
Reason: changed code formatting from inline to block

User avatar
cgnieder
Site Moderator
Posts: 1993
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Mon May 22, 2017 7:59 pm

micatske wrote:I just get LaTeX source code from my friend for one of the lectures in Germany. Is there any easy way to translate the German document into English?

Do you mean automatically? Not that I know of. A good translation will always need a native speaker for the language a text is translated to.
site moderator & package author

User avatar
Stefan Kottwitz
Site Admin
Posts: 9597
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat May 27, 2017 10:18 am

I hope the mathematical content is ok, because there are several mistakes in grammar in this short text, and "rehlifizierbar" doesn't exist. :shock:

For automated translation, one could process the HTML or PDF or TXT output (pdftotext) with a standard translator tool or with google translate. As Clemens, I think there's no way yet of translating directly within LaTeX markup.

Stefan
LaTeX.org admin

mitrg
Posts: 1
Joined: Fri Jul 10, 2020 11:54 am

Postby mitrg » Fri Jul 10, 2020 12:06 pm

I had this problem when translating long LaTeX documents from English to Russian. I wrote a tool gtexfix (https://github.com/drgulevich/gtexfix) which enables translation of .tex documents using Google Translate without breaking the LaTeX.

User avatar
Ijon Tichy
Posts: 314
Joined: Mon Dec 24, 2018 10:12 am

Postby Ijon Tichy » Sat Jul 11, 2020 12:04 pm

DeepL translates the shown code block into:
Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \begin{definition}
  2. A \textbf{parametric curve} is a continuous figure $c : I \rightarrow X$, where $X$ is a topological space. Be $(X,d)$ beyond that a metric space. Then we define
  3. \begin{equation*}\label{key}
  4. L(c) = \sup \left\{ \sum_{i=1}^{h} d \left( c(t_{i-1}),c(t_i) \right) \search t_0 \leq t_1 \leq \cdots \leq t_k \in I \right\}.
  5. \end{equation}
  6. than the length of $c$ with respect to the parameterization $h$.
  7. \end{definition}
  8.  
  9. If $h$ is reduced, the length $L(c)$ cannot become smaller. A curve is called rehabilitative if $L(c) < \infty$. A curve can also be reparameterized: Be $\varphi : I \rightarrow \widetilde{I}$ steady, surjective and monotonous. Then follows for $t < t'$ the $\varphi(t) \leq \varphi(t')$ or $\varphi(t') \leq \varphi(t)$. Define $\widetilde{c} := c \circ \varphi : \widetilde{I} \rightarrow X$ and we have $\widetilde{L}(c) = L(c)$.

I can find only one syntax mistake: \end{equation*} has been changed into \end{equation}.

The free-to-use translator is limited to 5000 characters. I often use it to make a first version of translations.


Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 5 guests