Base solution for your next web application
Open Closed

Localizable Content #1050


User avatar
0
qasim created

Hi Halil,

First I would like to thank you for the great work of ABP, its really highly appreciated .

my question: I want to enable the localization for some form's contents like the (Customer Name, Role Name ... etc) . Is it good practice to use the LocalizableString as type of the entity field ? and what is the best way to map it to DTO object?.

Thanks


1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    LocalizableString may not be proper for it, but you can use my experimental project as a sample for entity translations: <a class="postlink" href="https://github.com/hikalkan/experimental-multi-lingual-entities/blob/master/src/MultiLingualPlayings/Program.cs">https://github.com/hikalkan/experimenta ... Program.cs</a>