November Happy Hour will be moved to Thursday December 5th.

Localize name of ElementBlock that has the same name as a default ElementBlock but different namespace?

Vote:
 

Hi!
I have created a "custom" elementblock called TextElementBlock that uses my own namespace (MyProject.Elements.TextElementBlock), however this inherits from the EPiServer Forms default elementblock thast also named "TextElementBlock".. now I want to localize my TextElementBlocks name to for instance "Text element", but from my understanding the format of the lang-files does not allow this, or do they?

from what I know there is no way to specify a namespace or something for the contenttypes in the contenttypes-xml-element.

So for instance this:

...

<contenttypes>

<textelementblock>

<name>Text element</name>

</textelementblock>

</contenttypes>

...

Should translate both the "standard" TextElementBlock and my custom one to "Text element", since Im not definying any namespace or which textelementblock.

However.. what happens is that this translation gets fully ignored and instead my custom TextElementBlock gets the name of "TextElementBlock(1)".. which makes even less sense to me..

So the question boils down to:
How could I set a translation for a custom ElementBlock that shares the same name as any already existing ElementBlock (but they both have different namespaces)?

#218679
Edited, Mar 18, 2020 14:31
Vote:
 

Currently, the Core (CMS) does not support localize the content type with same name but in different namespace as I know. Forms Elements are content type, so they will be not supported.

#218965
Mar 26, 2020 7:48
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.