Open chupinmaxime opened 1 year ago
For french:
\algrenewcommand\algorithmicend{\textbf{fin}}
\algrenewcommand\algorithmicdo{\textbf{faire}}
\algrenewcommand\algorithmicwhile{\textbf{tant que}}
\algrenewcommand\algorithmicfor{\textbf{pour}}
\algrenewcommand\algorithmicforall{\textbf{pour tous}}
\algrenewcommand\algorithmicloop{\textbf{boucle}}
\algrenewcommand\algorithmicrepeat{\textbf{répéter}}
\algrenewcommand\algorithmicuntil{\textbf{jusqu’à}}
\algrenewcommand\algorithmicprocedure{\textbf{procédure}}
\algrenewcommand\algorithmicfunction{\textbf{fonction}}
\algrenewcommand\algorithmicif{\textbf{si}}
\algrenewcommand\algorithmicthen{\textbf{alors}}
\algrenewcommand\algorithmicelse{\textbf{sinon}}
\algrenewcommand\algorithmicrequire{\textbf{Données :}}
\algrenewcommand\algorithmicensure{\textbf{Demandé :}}
\algrenewcommand\algorithmicreturn{\textbf{retourner}}
\algrenewcommand\algorithmicoutput{\textbf{sortie}}
Thank you for the suggestion and for providing the French translations! I'll consider adding an option for a future release.
Hello, I just wanted to point out that the French translation «pour tous» feels wrong in my experience. I have only seen and used «pour tout» instead. I know you could argue that this latter translation is closer in meaning to "for each", but even then the actual translations of "for each" and "for all" I saw are «pour chaque» and «pour tout» resp. The rest looks good to me, and I thank you all for this issue: a French option would be really neat.
I’m not sure it is relevant, but someone seems to have made a French mod for algorithmicx: https://github.com/olirwin/frpseudocode/
Thanks for this package. Is that possible to add language options for the keywords ?