Portuguese localisation (Feature #287)


Added by Pedro Cruz almost 10 years ago. Updated over 9 years ago.


Status:Closed Start date:06/20/2014
Priority:Normal Due date:
Assignee:Alexis Bienvenüe % Done:

100%

Category:-
Target version:1.3.0

Description

How to change keyword "Question" to "Questão" in the PDF output ?
(and other keywords like that)
I've searched the forum and found nothing about it.
AMC Version 1.2.1


amcpt.sty - Basic style file for PT translations (432 Bytes) Alexis Bienvenüe, 06/20/2014 03:34 pm


History

Updated by Alexis Bienvenüe almost 10 years ago

Please provide the translation of the following words in the LaTeX code (I included here the french translation as an example), so that the Lang: PT (AMC-TXT global option) and lang=PT (LaTeX package option) can be added.

\def\AMC@loc@draft{DRAFT}
\def\AMC@loc@message{For your examination, preferably print
  documents compiled from auto-multiple-choice.}
\def\AMC@loc@qf#1{\textbf{Question #1:}}
\def\AMC@loc@q#1#2{\textbf{Question #1} #2}
\def\AMC@loc@corrected{Corrected}
\def\AMC@loc@catalog{Catalog}
\def\AMC@loc@explain{\textit{\textbf{Explanation: }}}
\def\AMC@loc@none{None of these answers are correct.}
\def\AMC@loc@FR{
  \def\AMC@loc@draft{PROJET}
  \def\AMC@loc@message{Pour votre examen, imprimez de pr\'ef\'erence
    les documents compil\'es \`a l'aide de auto-multiple-choice.}
  \def\AMC@loc@qf##1{\textbf{Question ##1 :}}
  \def\AMC@loc@q##1##2{\textbf{Question ##1} ##2}
  \def\AMC@loc@corrected{Correction}
  \def\AMC@loc@catalog{Catalogue}
  \def\AMC@loc@none{Aucune de ces r\'eponses n'est correcte.}
}

Updated by Pedro Cruz almost 10 years ago

Alexis Bienvenüe wrote:

Please provide the translation of the following words in the LaTeX code (I included here the french translation as an example), so that the Lang: PT (AMC-TXT global option) and lang=PT (LaTeX package option) can be added.
[...]

This is a first suggestion:

\def\AMC@loc@draft{RASCUNHO}
\def\AMC@loc@message{Para o seu exame, use preferencialmente documentos compilados do auto-multiple-choice.}
\def\AMC@loc@qf#1{\textbf{Questão #1:}}
\def\AMC@loc@q#1#2{\textbf{Questão #1} #2}
\def\AMC@loc@corrected{Corrigido}
\def\AMC@loc@catalog{Catálogo}
\def\AMC@loc@explain{\textit{\textbf{Justifique: }}}
\def\AMC@loc@none{Nenhuma das respostas apresentadas está correta.}

Pedro

Updated by Alexis Bienvenüe almost 10 years ago

Thanks. This will be added to the development code. If you need it before, you can save the attached sty file in the project directory (or in each of your projects directories), and call amcpt package after automultiplechoice: in LaTeX source files,

\usepackage{amcpt}

and in AMC-TXT source files:
LaTeX-Preambule: \usepackage{amcpt}

Updated by Anirvan Sarkar over 9 years ago

Applied in changeset hg:caace38.

  • Target version set to 1.3.0
  • Assignee set to Alexis Bienvenüe
  • % Done changed from 0 to 100
  • Subject changed from Portuguese to Portuguese localisation
  • Status changed from New to Closed

Also available in: Atom PDF