LPS-31424 added previously removed locale check, but this time against locales defined in portal.properties
LPS-31424 removes locale map restriction as validation has been added, so no more memory leaks
LPS-31424 language validation fix
LPS-31424 reset locale to null on invalid locales
LPS-31424 Source formatting