This is not a huge issue but I detected an issue with the GetLocaleList script which when providing both a localeString and localeName can provide duplicate results.
Here is a set of 3 patches that should be applied in order:
- the first one is adding some tests with a failing one which identifies the bug
- the second one resolves the bug
- the third one refactors the code to use a more functional style