Gets all the locales for a specific resource set.

Returns a table named TLocaleIds (LocaleId field)