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

Internationalization: lang: de-DE only partially works #550

Open
mariusbarth opened this issue Jan 25, 2023 · 1 comment
Open

Internationalization: lang: de-DE only partially works #550

mariusbarth opened this issue Jan 25, 2023 · 1 comment

Comments

@mariusbarth
Copy link
Collaborator

Hi @crsh,

I just tried to render the standard papaja template with lang: de-DE. Some but not all text is changed to German, see attached pdf.

  • What works:
    • Abstract is replaced with Zusammenfassung.
    • Ampersands are replaced with und
  • What doesn't work:
    • Running Head
    • Author Note
    • Keywords, Word count
    • ...
@mariusbarth mariusbarth changed the title Internationalization: lang: de-DE Internationalization: lang: de-DE only partially works Jan 25, 2023
@crsh
Copy link
Owner

crsh commented Apr 20, 2023

Yes, this is indeed a bit a pesky issue. We have some legacy code that doen't really do much anymore. I have just pushed some work in progress on the langs branch that should address keywords and word count. I think the rest needs to be fixed via LaTeX:

\renewcommand{\rheadname}{Kurztitel}% Running head
\renewcommand{\acksname}{Autorenhinweis}% Author Note
%\renewcommand{\keywordname}{Schlagw\"orter}% Keywords
\renewcommand{\notesname}{Fußnoten}% Footnotes

The challenge is that I was only able to get this to work by manually adding this to the generated LaTeX-file in the document body before \maketitle. So I think this will require some Lua.

Another thing that is currently not localized is text generated from metadata:

  • Contributorship line
  • Correpsondence line

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

No branches or pull requests

2 participants