It turns out that any chunk in the content was causing problems. So I created a new template and put the [[$album]] chunk in the template. That also eliminated the setAlbumJS problem, since the gallery template has the css and js in the template.
But the getImageList snippet still has to be double-uncached for the cultureKey to be used.
[![!getImageList? &tvname=`album` &tpl=`albumTpl`]]
Ah. If I call the album chunk uncached [[!$album]] then I can get away with calling the getImageList snippet uncached [[!getImageList]]
What a riot!
I cheated! I added these two output modifiers to my regular template:
[[[[*id:is=`6`:then=`!setAlbumJs`]]]]
[[[[*id:is=`6`:then=`!$album`]]]]
Now all works beautifully with a single template. Well, it sets the javascript once for each language, then after that it doesn't set it at all. <sigh> Oh, well.
[ed. note: sottwell last edited this post 12 years, 3 months ago.]