Import LayoutSetPrototype on resources-importer theme.

thumbnail
Joaquin Cabal, modified 5 Years ago. Regular Member Posts: 106 Join Date: 9/7/09 Recent Posts
Hi. I m using liferay 7 DXP. And have a Theme with resources importer.
This importer create a LayoutSetPrototype with the name of the Theme.
The portal has en_US default language.
We have two sites, one with langage es_ES and other woth en_US.

With the site in en_US we can import all structures ok.
With the site in es_ES we have a problem on importing the structures. The exception is: com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.dynamic.data.mapping.exception.StructureNameException: Name is null for locale Spanish (Spain).

I think the problem is that when the theme is deployes, the LayoutSetPrototype is created in english. So after when I want to deoy the theme, the structures in spanish can not be imported.
Anyone has an idea how to deal with this? Or how Can I modify the default language of a LayoutSetPrototype?

Thanks in advance!