Closed bep closed 5 years ago
To answer myself in the above:
Pick the first available in a sorted language list, starting from the default content language
.
Yes we use the Weight to sort languages. And this order should solve the language "precedence" when dealing with page resources.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I have much simplified the "bundle implemention" and while diffing some sites output, I find some peculiar behavior when having many langauges and you try to reuse non-content files from others. Given this content structure:
For the
nb/b1
bundle (no data.json) you will now sometimes geten/b1/data.json
and sometimessv/b1/data.json
.This is obviously wrong (we should pick one and the same every time), but I have forgotten what it was "supposed to be"? @regisphilibert ?