input#modalLang.modal(type="checkbox") div(role="dialog") #language.card label.modal-close(for="modalLang") .section fieldset - var langName = { "fr": "French", "en": "English", } label(for="langSelect") Preferred language? select#langSelect(onChange="setLanguage(event)") each langCode in languages option(value=langCode selected=(lang==langCode)) =langName[langCode] .section h3.blue Contribute p | Browse the a(href="https://github.com/yagu0/vchess/tree/master/views") | github repository | : welcome/en.pug and all files rules/*/en.pug | should be translated. When it's done, send me the files: a(href="mailto:contact@vchess.club?subject=[vchess.club] translation") | contact@vchess.club | . Thanks!