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

How do you translate the main string? #21

Open
CarlSinclair opened this issue Jul 12, 2024 · 0 comments · May be fixed by #23
Open

How do you translate the main string? #21

CarlSinclair opened this issue Jul 12, 2024 · 0 comments · May be fixed by #23

Comments

@CarlSinclair
Copy link

It seems that Reading time: is hardcoded into the plugin and isn't being translated. Which is understandable since it's not in languages.yaml, but I don't see it being injected from any of the files in the plugin.

And yet, the {{ page.content|readingtime}} variable seems to include it. The minutes and seconds parts translates correctly, as expected because there are translations for it, but not the Reading time: part. E.g. Reading time: 1 minuto.

Is this an oversight that nobody has ever noticed/cared about or am I missing something obvious?

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