Detect the language code from a news file path. Matches the -XX.html suffix convention. Returns null when no recognised language code is present (e.g. canonical EN files with no suffix).
-XX.html
null
Detect the language code from a news file path. Matches the
-XX.htmlsuffix convention. Returnsnullwhen no recognised language code is present (e.g. canonical EN files with no suffix).