Language translation problem.

Added by Jose Briseño over 5 years ago

Hey there. I am using amc 1.4.0 on Ubuntu 18.04 I think I have a language translation language problem. I decided to create an AMC file with a separate answer sheet format. In this AMC file I set the subject language to Spanish, lang=ES. However, in the Answer sheet area, the file shows the word "Question 1" instead "Pregunta 1". How can I fix this language translation problem. Thanks in advance.


Replies (5)

RE: Language translation problem. - Added by Alexis Bienvenüe over 5 years ago

This works as expected with me. Do you use a custom automultiplechoice.sty? Can you provide a minimal working source file that shows the problem?

RE: Language translation problem. - Added by Jose Briseño over 5 years ago

Hey, Alexi. First, thanks for your sooner answer. Second, of course I attached the Latex code lines that I think would be useful for this scenario

%%% An example with a separate answer sheet

\documentclass[letter]{article}

\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
%%usepackage
\usepackage{graphicx}
\usepackage[font=small,labelfont=bf]{caption} % Required for specifying captions to tables and figures

\usepackage[box,completemulti, lang=ES, separateanswersheet]{automultiplechoice}
\begin{document}

\AMCrandomseed{1237893}

\def\AMCformQuestion#1

\setdefaultgroupmode{withoutreplacement}

RE: Language translation problem. - Added by Jose Briseño over 5 years ago

Also, I attached an AMC PDF file with this Latex code. I hope this helps.
Thanks

language.jpg (44.9 kB)

RE: Language translation problem. - Added by Rafael Rodriguez over 5 years ago

Dear Jose,
could you try without the line?
\def\AMCformQuestion#1
I don't understand whats its purpose.
Best regards,
Rafael

RE: Language translation problem. - Added by Jose Briseño over 5 years ago

Hey Rafael. Me neither. Then I tried without that line and It works !
I appreciate a lot your time to help me.Thanks.

P.S. I attached an image with some sections of the PDF file.

pregunta11.jpg (45.2 kB)

(1-5/5)