- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Partial translation #73
Comments
I assume this is due to the use of |
Hi @jrappen 👋🏻 , I assume you're using the If you look at https://github.com/squidfunk/mkdocs-material/blob/master/src/partials/source-file.html you should notice these two lines: {{ lang.t("source.file.date.updated") }}:
{{ page.meta.git_revision_date_localized }} That means the label "Letzes Update" is provided by You now have two options:
|
@timvink My question was rather, why the first part was translated but not the second. |
Not sure I understand your question then. These are the translations you show: They come from this translation file:
I don't speak German. I have contributed those lines to If you have better translation, either if you make a PR to |
@timvink Anything after the colon, as "2 months ago" in this case, isn't translated. It remains in English. |
Ohhh I see, I thought the second part was the I looked at your website, and changing I think the core issue is that this plugin does not support the That should be there. I'll look into it next time I work on the plugin, probably somewhere next weekend. |
@timvink Changing from |
Yes, this plugin also only supports a global language setting. I will build in support for per-page language setting. |
I have this test site:
where my last commit to
main
was built with:and pages with the German language have footers of this plugin only partially translated:
Any feedback as to why this happens?
The text was updated successfully, but these errors were encountered: