Method | Description | |
---|---|---|
GetDateFirstGlobalized ( List |
Gets the earliest modification date of all versions generated from this resource file.
|
|
GetInternationalizedName ( string locale, bool appendPath ) : string |
Gets the globalized locale name of this resource file.
|
|
GetSourcePath ( string locale ) : string |
Gets the path to the locale-specific version of this resource if it exists, or the path to the non-specific version if it doesn't.
|
|
Globalize ( ) : |
Globalizes this instance.
|
|
IsGlobalizable ( |
Gets a value indicating whether the specified document is globalizable. In order for an xml resources to be considered globalizable, it needs to reference the XmlNamespaces.InternationalizationNamespace. |
|
Load ( string locale ) : |
Loads this resource (optionally) localized into the specified locale.
|
|
ToString ( ) : string | ||
XmlResource ( string path, SageContext context ) : System |
Initializes a new instance of the XmlResource class, using the specified resource path and context.
|
Method | Description | |
---|---|---|
LoadGlobalizedDocument ( string locale ) : |
||
LoadLocalizedSourceDocument ( string locale ) : |
||
LoadSourceDocument ( string locale ) : |
public GetDateFirstGlobalized ( List |
||
locales | List |
The locales to check for. |
return | DateTime? |
public GetInternationalizedName ( string locale, bool appendPath ) : string | ||
locale | string | The locale for which to get the name. |
appendPath | bool | If set to |
return | string |
public GetSourcePath ( string locale ) : string | ||
locale | string | The locale for which to get the path. |
return | string |
public Globalize ( ) : |
||
return |
public IsGlobalizable ( |
||
document | The document to check. | |
return | bool |
public Load ( string locale ) : |
||
locale | string | The locale into which to localize this resource. |
return |
public XmlResource ( string path, SageContext context ) : System | ||
path | string | The path to the XML resource. |
context | SageContext | The current |
return | System |