On my user page at Meta the language code for South Sami language (sma) and Lule Sami language (smj) shows up as English.
This happens for all code variants, {{#babel: sma | sma-0 | sma-1 | sma-2 | sma-3 }} and {{#babel: smj | smj-0 | smj-1 | smj-2 | smj-3 }}.
In the signature section of items at Wikidata, like Møre og Romsdal (that is with the previous Babel boxes), it will show the correct “Southern Sami” and “Lule Sami”.
Note that Southern Sami and Lule Sami languages does not have a Wikipedia project, while Northern Same language has a project.