ProcessLanguage class

It also contains the hooks for altering the output of the InputfieldFile to hold language info and links.

This is the process assigned to processwire/setup/languages/.


Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the ProcessLanguage class also inherits all the methods and properties of: ProcessPageType, Process, WireData and Wire.

Show class?     Show args?       Only hookable?    

Common

NameReturnSummary 
ProcessLanguage::execute()
None
ProcessLanguage::executeDownload()
NoneCreate and send a ZIP of translation files or CSV of translations
ProcessLanguage::getModuleInfo()
None 
ProcessLanguage::init()
NoneAdd InputfieldFile hooks 
ProcessLanguage::processCSV(string $csvFile, Language $language)
bool intProcess a CSV file to import changes from it
ProcessLanguage::processInputfieldFileInput($event)
None 
ProcessLanguage::renderInputfieldFile(HookEvent $event)
NoneHook for before InputfieldFile::render 
ProcessLanguage::renderInputfieldFileItem(HookEvent $event)
NoneHook for InputfieldFile::renderItem 
ProcessLanguage::renderInputfieldFileUpload(HookEvent $event)
NoneHook for InputfieldFile::renderUpload 
ProcessLanguage::renderInputfieldForm($event)
None 
ProcessLanguage::wired()
NoneWired to ProcessWire instance 

Additional methods and properties

In addition to the methods and properties above, ProcessLanguage also inherits the methods and properties of these classes:

API reference based on ProcessWire core version 3.0.251