I see that most applications are split between 2. Things that are returned on most pages, such as OK, Cancel, Address, First Name ... go global. Specific terms are included in local resources.
, , , . , translationkey, . Cache, , . , , ( , ).
- :
public class TranslationLabel : Label, ITranslation
{
public string TranslationKey { get; set; }
}
basePage , ITranslation. TranslationKey , Cache.
:
<cl:TranslationLabel runat="server" TranslationKey="WarningMessage" />