LPS-47077 TemplateNameException occurred when importing an LAR file.
LPS-47077 Use the default site locale only when the entity has a group on it
PS-47077 add methods that accept a defaultLocale different to the global one (we have site locales)
LPS-47077 use this method in getDefaultLanguageId
LPS-47077 Autogenerated