Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
It's as easy as using:
@Html.DropDownListFor(x => x.CategoryList1, new SelectList(Model.CategoryList1, "ID", "LocalizedDescription"))
I was not aware of "LocalizedDescription".
And in Resources\LanguageFiles\Viwews.xml:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<languages>
<language name="dutch" id="nl">
<categories>
<category name="CategoryName">
<description>CategoryName translated</description>
</category>
</categories>
</language>
</languages>
Regards
I know I can have translated categories, adding to language xml file:
How would be the correct way to display child translated categories from one selected parent in a dropdownlist???? Either in edit or user mode....
Best Regards