Checks if two locale strings have the same parent locale.
The first locale string.
The second locale string.
Checks if two locale strings have the same parent locale.