GTNPORTAL-2819 Fix locale parsing in REST API