Method | Description | |
---|---|---|
GetOnlineVersion ( TranslationType Type, bool bGetURL = false ) : string |
Uses the downloaded Version XML document to return a specific version number as a string.
|
|
IsOnlineVersionGreater ( TranslationType Type, string LocalVersionString ) : bool |
Conditional function to determine whether the supplied version is greater than the one found online.
|
|
LoadVersion ( string UpdateURL ) : bool |
Loads the version XML file from a remote URL. This houses all current online version info.
|
|
UpdateTranslations ( string BaseTranslationURL, string Culture, |
Updates any translation files that differ from that found online.
|
public GetOnlineVersion ( TranslationType Type, bool bGetURL = false ) : string | ||
Type | TranslationType | Translation file type. Can also be for the App itself. |
bGetURL | bool | If true, returns the URL of the online file instead of the version. |
return | string |
public IsOnlineVersionGreater ( TranslationType Type, string LocalVersionString ) : bool | ||
Type | TranslationType | Translation file type. Can also be for the App itself. |
LocalVersionString | string | Version string of the local file to check against |
return | bool |
public LoadVersion ( string UpdateURL ) : bool | ||
UpdateURL | string | String URL to the version XML file. |
return | bool |
public UpdateTranslations ( string BaseTranslationURL, string Culture, |
||
BaseTranslationURL | string | String URL folder that contains all the translation XML files. |
Culture | string | Language version to download |
TranslationsRef | Link to the translation engine to obtain current translation versions. | |
return | int |