0
mdonogma created
How can we translate organization unit nodes?
Example: permissions tree is translatable
2 Answer(s)
-
0
Hi @Mdonogma,
You need dynamic content translation for this. Asp.net zero doesn't support dynamic content translation.
-
0
@Mdonogma,
As @alirizaadiyahsi said, AspNet Zero and ABP does not support content localization. But you can still add items to your locaalization files like
<item name="OrganizationUnitCodes_ORG1">Headquarter</item>
Then, when displaying organization Unit Codes, you can use
@L("OrganizationUnitCodes_" + organizationUnit.Code)
But you need to insert all organization unit codes to your localization files, at least for the default language.