Initial change for #1266: language pack availability, per version
VERSION is not a js var, but a template var.
Merge pull request #1274 from bcipolli/1266

Fix for #1266