Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Übersetzung von Bild- und Tabellenunterschriften #126

Open
max123kl opened this issue Jul 3, 2020 · 4 comments
Open

Übersetzung von Bild- und Tabellenunterschriften #126

max123kl opened this issue Jul 3, 2020 · 4 comments

Comments

@max123kl
Copy link
Collaborator

max123kl commented Jul 3, 2020

Wie in Issue #112 schon festgestellt ...

Apropos: Was mich im Moment viel mehr "stört" (oder zumindest auffällig ist, ist, dass der Bezeichner mit "Figure" noch Englisch statt deutsch ist. Ebenso bei den Tabellen mit "Table". Soll ich hierfür ein eigenes Issue aufmachen?

Originally posted by @Mo-Gul in #112 (comment)

... sollten wir versuchen das Problem einzukreisen.

@max123kl
Copy link
Collaborator Author

max123kl commented Jul 3, 2020

@jnavila and @ben
Can you give us a hint, how we can translate the first word (in rendered output) in the captions of all diagrams and tables?
As far as I can see, each of the following examples concerns translations for all languages.

Example 1:
The source file says:
https://github.com/progit/progit2-de/blame/master/book/01-introduction/sections/about-version-control.asc#L22+L23

.Lokale Versionsverwaltung
image::images/local.png[Local version control diagram]

will be rendered to this output:
Figure 1. Lokale Versionsverwaltung

How can we replace the word "Figure" with the German term "Abbildung" or "Bild"?

Something similar happens with tables Example 2:
The source file says:
https://github.com/progit/progit2-de/blame/master/book/02-git-basics/sections/viewing-history.asc#L160-L162

[[pretty_format]]
.Nützliche Optionen für `git log --pretty=format`
[cols="1,4",options="header"]

will be rendered to this output:
Table 1. Nützliche Optionen für git log --pretty=format

The word "table" should be exchanged with the term "Tabelle".

Another issue is:
In the PDF output a "Table of Contents" is generated at the beginning of the document.
It would be desirable if the headline did not have to remain in English, but is translated to "Inhaltsverzeichnis".

@Mo-Gul
Copy link
Contributor

Mo-Gul commented Jul 3, 2020

A quick Google search revealed

which might be a starting point ...

(I don't have a clue about AsciiDoctor, so I didn't have a closer look at it (so far).)

@max123kl
Copy link
Collaborator Author

max123kl commented Jul 3, 2020

@Mo-Gul
I have no idea, where to edit, but this may help to translate the captions "Note", "Tip", "Important", etc. too.
If you can help me find the "starting point", I will do the editions.

@Mo-Gul
Copy link
Contributor

Mo-Gul commented Jul 3, 2020

@max123kl, I know that you (also) don't have a clue. But my comment was for the people you mentioned in your comment. Maybe they also don't know how to do that so far, but are much more familiar with AsciiDoctor and thus giving them a starting point helps.

So far I am just running a preview of the .asc files while editing, but don't have a running AsciiDoctor installation. So helping here is a bit tricky when I can't test it.

But I had found https://gist.asciidoctor.org/. Maybe with that help it is possible to test. I will first have a look at that when I did more reading the book, which is my primary intend as you know. Everything else here is considered bonus and already takes quite some time ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants