Hello, why does Smf give a warning when using multiple languages?
website: https://f1wm.net/index.php
Warning: This document appears to be written in Turkish but the html start tag has lang="en-US". Consider using lang="tr" (or variant) instead.
Warnung.jpg
Are you using the Turkish language pack? There should be an entry early on in index.turkish.php for this.
Quote from: Arantor on January 20, 2024, 05:45:46 AMAre you using the Turkish language pack? There should be an entry early on in index.turkish.php for this.
@Arantor I use German, Turkish, English. The problem is that it does not give warnings in languages other than English.
So, exactly as I said, you need to look at the language pack you're using.
$txt['lang_locale'] defines what gets used for that lang= entry. Check your language files have this defined. And if you're using the validator when the site's using the English language pack you'll get the English lang_locale entry (as you have there)...
I'm not sure what you hope for SMF to do - switch language and you get the right code.