Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

String table

Alexanderius edited this page Jun 29, 2019 · 4 revisions

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