Skip to content

String table

Alexanderius edited this page Sep 15, 2019 · 1 revision

String table

StringTable class 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 tables files should be placed in App_Data.

<< Previous page Next page >>

Clone this wiki locally