After reading the documentation I found regarding translating content files, I find it unclear how to add a language fallback in case of missing content.
Assuming I have this file structure:
content
|__ _index.md <-- English content
|__ _index.de.md <-- German content
I saw that .Site.RegularPages was not returning any results so after some investigation I refactor the snippet you posted in the documentation page to this:
I just figured that out at the same time… OK, I see now.
So, if I understood correctly, there is no way out of the box to fill-in partially missing translations, it’s either all or nothing.
What do you mean by “partly missing”? If you mean partially translated content files (so you have half the about.fr.md in French and somehow add English for the missing paragraphs …?) , the answer is no. That would not be practical.
You need to show what you’ve gotten so far, and then folks can clone your work and assist. Please see Requesting Help for more information on getting help.
Also, gonna close this and have you open a new #support issue, as this person wasn’t failing to get lang.Merge working, they were looking for different functions. If you have an issue, provide code and detailed questions in a new post.