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

Translate syllabus and sample exam documents #125

Merged

Conversation

Witiko
Copy link
Contributor

@Witiko Witiko commented Nov 1, 2024

Closes #122.

@Witiko
Copy link
Contributor Author

Witiko commented Nov 1, 2024

Below, I show how the documents sample-exam-questions.tex and sample-exam-questions.tex from the repository istqb_product_template look after this PR with the following changes to change the documents to German:

diff --git a/sample-exam-answers.tex b/sample-exam-answers.tex
index b765637..14f3bc7 100644
--- a/sample-exam-answers.tex
+++ b/sample-exam-answers.tex
@@ -25,9 +25,9 @@
 
 % Document Text
 \istqblandscapebegin
-\istqbunnumberedsection{Answer Key}
+\istqbunnumberedsection{Lösungsschlüssel}
 \markdownInput[snippet=answer-key]{sample-exam-answers/questions.yml}
-\istqbunnumberedsection{Answers}
+\istqbunnumberedsection{Antworten}
 \markdownInput[snippet=answers]{sample-exam-answers/questions.yml}
 \istqblandscapeend
 
diff --git a/sample-exam-questions.tex b/sample-exam-questions.tex
index 064064c..2abcb92 100644
--- a/sample-exam-questions.tex
+++ b/sample-exam-questions.tex
@@ -24,7 +24,7 @@
 \istqbtableofcontents
 
 % Document Text
-\istqbunnumberedsection{Questions}
+\istqbunnumberedsection{Fragen}
 \markdownInput[snippet=questions]{sample-exam-questions/questions.yml}
 
 \end{document}
diff --git a/sample-exam/metadata.yml b/sample-exam/metadata.yml
index c10362e..f631c0b 100644
--- a/sample-exam/metadata.yml
+++ b/sample-exam/metadata.yml
@@ -3,9 +3,10 @@ level: Foundation Level
 title: Syllabus Template
 code: CT-TEMP
 prefix: TEMP
-type: Sample Exam
+type: Probeprüfung
 version: v0.1
 compatibility: Compatible with Syllabus v0.1
 date: YYYY/MM/DD
 release: For internal use only
 logo: istqb-logo-default
+language: de
diff --git a/sample-exam/questions.md b/sample-exam/questions.md
index cf1dcb9..74676a5 100644
--- a/sample-exam/questions.md
+++ b/sample-exam/questions.md
@@ -24,7 +24,7 @@ d. Is not correct. It is impossible to test all combinations of inputs (see test
 # metadata
 lo: 1.4.2
 k-level: K2
-points: 1
+points: 2
 correct: b
 
 ## question

Sample Exam Questions

Landing page

image

Table of contents

image

Questions

image
image

Sample Exam Answers

Landing page

image

Table of contents

image

Answer key

image

Answers

image
image

@Witiko
Copy link
Contributor Author

Witiko commented Nov 1, 2024

Below, I show how the documents sample-exam-questions.tex and sample-exam-questions.tex from the repository istqb_product_template look after this PR with the following changes to change the documents to Czech:

diff --git a/sample-exam-answers.tex b/sample-exam-answers.tex
index b765637..14f3bc7 100644
--- a/sample-exam-answers.tex
+++ b/sample-exam-answers.tex
@@ -25,9 +25,9 @@
 
 % Document Text
 \istqblandscapebegin
-\istqbunnumberedsection{Answer Key}
+\istqbunnumberedsection{Klíč k odpovědím}
 \markdownInput[snippet=answer-key]{sample-exam-answers/questions.yml}
-\istqbunnumberedsection{Answers}
+\istqbunnumberedsection{Odpovědi}
 \markdownInput[snippet=answers]{sample-exam-answers/questions.yml}
 \istqblandscapeend
 
diff --git a/sample-exam-questions.tex b/sample-exam-questions.tex
index 064064c..2abcb92 100644
--- a/sample-exam-questions.tex
+++ b/sample-exam-questions.tex
@@ -24,7 +24,7 @@
 \istqbtableofcontents
 
 % Document Text
-\istqbunnumberedsection{Questions}
+\istqbunnumberedsection{Otázky}
 \markdownInput[snippet=questions]{sample-exam-questions/questions.yml}
 
 \end{document}
diff --git a/sample-exam/metadata.yml b/sample-exam/metadata.yml
index c10362e..f631c0b 100644
--- a/sample-exam/metadata.yml
+++ b/sample-exam/metadata.yml
@@ -3,9 +3,10 @@ level: Foundation Level
 title: Syllabus Template
 code: CT-TEMP
 prefix: TEMP
-type: Sample Exam
+type: Ukázkový test
 version: v0.1
 compatibility: Compatible with Syllabus v0.1
 date: YYYY/MM/DD
 release: For internal use only
 logo: istqb-logo-default
+language: cs
diff --git a/sample-exam/questions.md b/sample-exam/questions.md
index cf1dcb9..74676a5 100644
--- a/sample-exam/questions.md
+++ b/sample-exam/questions.md
@@ -24,7 +24,7 @@ d. Is not correct. It is impossible to test all combinations of inputs (see test
 # metadata
 lo: 1.4.2
 k-level: K2
-points: 1
+points: 2
 correct: b
 
 ## question

Sample Exam Questions

Landing page

image

Table of contents

image

Questions

image
image

Sample Exam Answers

Landing page

image

Table of contents

image

Answer key

image

Answers

image
image

Can you suggest a better Czech translation for the text "K-Level"?

@Witiko
Copy link
Contributor Author

Witiko commented Nov 1, 2024

Below, I show how the documents sample-exam-questions.tex and sample-exam-questions.tex from the repository istqb_product_template look after this PR with the following changes to change the documents to Slovak:

diff --git a/sample-exam-answers.tex b/sample-exam-answers.tex
index b765637..14f3bc7 100644
--- a/sample-exam-answers.tex
+++ b/sample-exam-answers.tex
@@ -25,9 +25,9 @@
 
 % Document Text
 \istqblandscapebegin
-\istqbunnumberedsection{Answer Key}
+\istqbunnumberedsection{Kľúč k odpovediam}
 \markdownInput[snippet=answer-key]{sample-exam-answers/questions.yml}
-\istqbunnumberedsection{Answers}
+\istqbunnumberedsection{Odpovede}
 \markdownInput[snippet=answers]{sample-exam-answers/questions.yml}
 \istqblandscapeend
 
diff --git a/sample-exam-questions.tex b/sample-exam-questions.tex
index 064064c..2abcb92 100644
--- a/sample-exam-questions.tex
+++ b/sample-exam-questions.tex
@@ -24,7 +24,7 @@
 \istqbtableofcontents
 
 % Document Text
-\istqbunnumberedsection{Questions}
+\istqbunnumberedsection{Otázky}
 \markdownInput[snippet=questions]{sample-exam-questions/questions.yml}
 
 \end{document}
diff --git a/sample-exam/metadata.yml b/sample-exam/metadata.yml
index c10362e..f631c0b 100644
--- a/sample-exam/metadata.yml
+++ b/sample-exam/metadata.yml
@@ -3,9 +3,10 @@ level: Foundation Level
 title: Syllabus Template
 code: CT-TEMP
 prefix: TEMP
-type: Sample Exam
+type: Ukážkový test
 version: v0.1
 compatibility: Compatible with Syllabus v0.1
 date: YYYY/MM/DD
 release: For internal use only
 logo: istqb-logo-default
+language: sk
diff --git a/sample-exam/questions.md b/sample-exam/questions.md
index cf1dcb9..74676a5 100644
--- a/sample-exam/questions.md
+++ b/sample-exam/questions.md
@@ -24,7 +24,7 @@ d. Is not correct. It is impossible to test all combinations of inputs (see test
 # metadata
 lo: 1.4.2
 k-level: K2
-points: 1
+points: 2
 correct: b
 
 ## question

Sample Exam Questions

Landing page

image

Table of contents

image

Questions

image
image

Sample Exam Answers

Landing page

image

Table of contents

image

Answer key

image

Answers

image
image

Can you suggest a better Slovak translation for the text "K-Level"?

@danopolan
Copy link
Contributor

I am OK with the changes.

@JaGi-GTB can you please have a look on German version as well?
If you want to test it on TAS or TAE syllabus, just update .github/workflows/compile.yml, line 15 to uses: istqborg/istqb_product_base/.github/workflows/compile.yml@feat/syllabus-and-exam-documents-general-text-translations

@Witiko
Copy link
Contributor Author

Witiko commented Nov 2, 2024

If you want to test it on TAS or TAE syllabus, just update .github/workflows/compile.yml, line 15 to uses: istqborg/istqb_product_base/.github/workflows/compile.yml@feat/syllabus-and-exam-documents-general-text-translations

You should also set line 19 of the same file to base-version: feat/syllabus-and-exam-documents-general-text-translations to use the updated template from this PR in your workflow. Changing line 15 only changes the workflow definitions and would have no effect here, since we made no changes to these definitions in this PR.

…ations

Add translations for the traceability matrix
Copy link
Contributor

@danopolan danopolan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can merge this one

@Witiko Witiko merged commit 943c195 into main Nov 4, 2024
9 checks passed
@Witiko Witiko deleted the feat/syllabus-and-exam-documents-general-text-translations branch November 4, 2024 09:07
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

Successfully merging this pull request may close these issues.

General text translations for Syllabus and Exam documents
2 participants