diff --git a/src/main/docs/resources/js/multi-language-sample.js b/src/main/docs/resources/js/multi-language-sample.js
index <HASH>..<HASH> 100644
--- a/src/main/docs/resources/js/multi-language-sample.js
+++ b/src/main/docs/resources/js/multi-language-sample.js
@@ -102,6 +102,11 @@ function postProcessCodeBlocks() {
                 multiLanguageSelectorElement.classList.add("multi-language-selector");
                 languageSelectorFragment.appendChild(multiLanguageSelectorElement);
 
+                if (sampleCollection.every(function(element) {
+                    return element.classList.contains("hidden");
+                })) {
+                    sampleCollection[0].classList.remove("hidden");
+                }
 
                 sampleCollection.forEach(function (sampleEl) {
                     var optionEl = document.createElement("code");
Show the first sample in a multi language if none match the language choice