You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates a new string from unknowns table.
This transforms an unknown string (found in sourcecode) into a full translation term that can be
edited in the translation system.
Definition: public abstract function CreateString($term, $text)
Returns: void
Parameters:
string $term The identifier (like TXT_MYSTRING1)
string $text Content, in the default application language
DeleteString
INTERNAL Delete a string
Download
INTERNAL Download all the translation files in a ZIP archive
Fetch
Fetch strings from the translation system into the project.
They will be stored in the strings directory as PHP files for easy inclusion.
Definition: public abstract function Fetch($languages=false)
Returns: void
Parameters:
array $languages Array of language codes to be fetched
Import
Import strings from the XX.inc.php translation system into the database
Definition: public abstract function Import($languages=false, $clearbeforeimport=false)
Returns: void
Parameters:
array $languages Array of language codes to be fetched
bool $clearbeforeimport If true, clears all strings before importing new ones