ropensci-review-tools / babelquarto

Renders a Multilingual Quarto Project (Book or Website)
https://docs.ropensci.org/babelquarto/
Other
40 stars 7 forks source link

Posts with freeze not getting translated #76

Closed joelnitta closed 2 months ago

joelnitta commented 2 months ago

When I try to render a translated version of a blog post that uses freeze, the non-English version actually seems to be using the frozen content of the English index.qmd instead of index.ja.qmd (in my case, I am translating to Japanese).

For example like this:

posts/
  2022-10-07_canaper/
     index.qmd
     index.ja.qmd

I end up with this:

image

When I should have this:

image

(note that the language setting of the post is correct, just not the actual contents)

source code: https://github.com/joelnitta/joelnitta-home/tree/profiles

Nenuial commented 2 months ago

Thanks for reporting this !

Indeed that's going to be an issue… I tried addressing it in this branch: https://github.com/ropensci-review-tools/babelquarto/tree/Nenuial/issue76

Could you check it out and tell me if it works?