# Translations

Translations can be customized for each language and module installed. To modify or insert a new translation use the method:

```PHP
SDK::setLanguageEntry($module, $langid, $label, $newlabel);
```

*$module : the module name that contains the string*  
*$langid : the code of the language (e.g. “en\_us”, “it\_it”)*  
*$label : the label (e.g. LBL\_TASK\_TITLE)*  
*$newlabel : the translation of the label*

If the label already exists for the chosen module and language, it will be replaced. As a module you can specify "APP\_STRINGS" to insert a global translation or "ALERT\_ARR" to make the translation available in JavaScript files. To load a string simultaneously in multiple languages, the method is:

```PHP
SDK::setLanguageEntries($module, $label, $strings);
```

*$module : the name of the module*  
*$label : the label*  
*$strings : associative array with the translations (e.g. array(“it\_it”=&gt;str1, …))*

To remove a translation:

```PHP
SDK::deleteLanguageEntry($module, $langid, $label = NULL);
```

*$module : the name of the module*  
*$langid : the code of the language*  
*$label : the label (if NULL, all the strings that match)*