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

Warnings when rendering document with lang: tr #8921

Closed
dragonstyle opened this issue Jun 27, 2023 · 1 comment
Closed

Warnings when rendering document with lang: tr #8921

dragonstyle opened this issue Jun 27, 2023 · 1 comment
Labels

Comments

@dragonstyle
Copy link

Explain the problem.
Rendering this document below test markdown document emits warnings regarding the translation:

test.md

---
title: Test
author: Tester 1
abstract: This is the abstract
lang: tr
---

## Test

Command

pandoc test.md --from markdown --to html --standalone

Warnings

[WARNING] Could not load translations for tr
  translations/tr.yaml: Aeson exception:
  Error in $: Invalid Term name "Subject"
[WARNING] The term Abstract has no translation defined.

It may be as simple as an extraneous translation of the term Subject, but I'm a little confused by the presence of the warning regarding Abstract, which does appear to be present.

Pandoc version?
pandoc 3.1.4 on MacOS

@jgm jgm closed this as completed in 0c9b20c Jun 27, 2023
@jgm
Copy link
Owner

jgm commented Jun 27, 2023

I think the problem is that Subject isn't one of the terms defined in the type we use for translations.
So the loading of translations is failing. I removed the line with Subject and that should fix things.

samahri pushed a commit to samahri/pandoc that referenced this issue Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants