Skip to content

String table

Alexanderius edited this page Jul 3, 2025 · 2 revisions

String table

StringTable is a class that loads and keeps a localizable table of strings (can be HTML content) from specified string table files (can be set via Simplify.Web configuration).

String tables in-memory cache can be enabled via Simplify.Web configuration.

String table file example (StringTable.en.xml)

<?xml version="1.0" encoding="utf-8" ?>

<items>
    <item name="SiteTitle" value="Simplify.Web example application" />
    <item name="PageTitleAbout" value="About Page" />
    <item name="PageTitleLogin" value="Login" />
    <item name="PageTitleProfile" value="Profile" />
    <item name="PageTitle404" value="404 Not Found" />
</items>

String table files should be placed in App_Data.

<< Previous page Next page >>

Clone this wiki locally