Localization with Umbraco UI Builder
# help-with-umbraco
b
Does anyone know how to localize section, tree, etc. with Umbraco UI builder? In e.g.
AddSectionAfter()
and
Tree()
I can only find overload with
name
.
j
Once you run it, it will automatically generate a lang file within App_Plugins/UmbracoUiBuilder/lang/en-US.xml which you can copy and edit for other languages
b
Thanks, it works. However in seems the tree root isn't localized.. and it doesn't auto generate key for tree with
SetAlias()
https://cdn.discordapp.com/attachments/1298274868776796213/1298320980594130944/image.png?ex=67192323&is=6717d1a3&hm=8fe875e5bb28ac102c5b0128821e094271ce664cf3524ef3c783d4d9e6c129b7&
I added this manually, but didn't help.
Copy code
<area alias="treeHeaders">
  <key alias="repositories">Dataudtræk</key>
</area>
2 Views