ZurmoTranslationServerUtil Class Reference

Static Public Member Functions

static getServerDomain ()
static getAvailableLanguages ()
static getPoFileUrl ($languageCode)

Static Protected Member Functions

static getServerInfo ()
static getUrlPattern ()

Detailed Description

Interacts with the L10N server ( http://translate.zurmo.org )

Definition at line 42 of file ZurmoTranslationServerUtil.php.


Member Function Documentation

static getServerDomain (  )  [static]

Getter for the domain fo the l10n server

Returns:
string

Definition at line 69 of file ZurmoTranslationServerUtil.php.

static getServerInfo (  )  [static, protected]

Downloads the l10n info XML file

Returns:
SimpleXMLElement

Definition at line 87 of file ZurmoTranslationServerUtil.php.

static getAvailableLanguages (  )  [static]

Retrives the list of all languages available on the l10n server

Definition at line 122 of file ZurmoTranslationServerUtil.php.

static getPoFileUrl ( languageCode  )  [static]

Formats the url to the po file for the specified language

Definition at line 167 of file ZurmoTranslationServerUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Mar 25 07:10:32 2017