You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the blog plugin with the language set to pt-BR, there is a problem with the babel format_date, with the given locale.
The locale is set by getting the langauge config, in this case pt-BR, but babel does not support the hifen (it must be an undescore). So ther error happens.
Context
No response
Bug description
Using the
blog plugin
with the language set topt-BR
, there is a problem with the babel format_date, with the given locale.The locale is set by getting the langauge config, in this case
pt-BR
, but babel does not support the hifen (it must be an undescore). So ther error happens.Line 803 from https://github.com/squidfunk/mkdocs-material/blob/master/src/plugins/blog/plugin.py
This error problably happens with other languages with hifen (e.g. ku-IQ)
The solution would be to replace the hifen (-) with (_)
Related links
Reproduction
9.4.8-bug-blog-pt-br.zip
Steps to reproduce
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material
Browser
Chrome
Before submitting
The text was updated successfully, but these errors were encountered: