def split_locale(locale: Text) -> Tuple[Text, Optional[Text]]:
items = re.split(r'<STR_LIT>', locale.lower(), <NUM_LIT:1>)<EOL>try:<EOL><INDENT>return items[<NUM_LIT:0>], items[<NUM_LIT:1>]<EOL><DEDENT>except IndexError:<EOL><INDENT>return items[<NUM_LIT:0>], None<EOL><DEDENT>
Decompose the locale into a normalized tuple.

The first item is the locale (as lowercase letters) while the second item
is either the country as lower case either None if no country was supplied.