ProcessLanguage class

Located in file /wire/modules/LanguageSupport/ProcessLanguage.module

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?        

Common

NameReturnSummary 
ProcessLanguage::execute()
stringMain execution method, delegated to listing items in this page type
ProcessLanguage::executeDownload()
(nothing)Create and send a ZIP of translation files or CSV of translations
ProcessLanguage::getModuleInfo()
(nothing) 
ProcessLanguage::init()
(nothing)Add InputfieldFile hooks 
ProcessLanguage::processCSV(string $csvFile, Language $language)
bool intProcess a CSV file to import changes from it
ProcessLanguage::processInputfieldFileInput($event)
(nothing) 
ProcessLanguage::renderInputfieldFile(HookEvent $event)
(nothing)Hook for before InputfieldFile::render 
ProcessLanguage::renderInputfieldFileItem(HookEvent $event)
(nothing)Hook for InputfieldFile::renderItem 
ProcessLanguage::renderInputfieldFileUpload(HookEvent $event)
(nothing)Hook for InputfieldFile::renderUpload 
ProcessLanguage::renderInputfieldForm($event)
(nothing) 

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.200

Twitter updates

  • New ProcessWire “User Activity” module version released (v5), this post covers what's new— More
    12 August 2022
  • New post: Multi-language field translation export/import — In this post we cover the details of a new module that enables export and import capabilities for multi-language fields in ProcessWire… More
    5 August 2022
  • Weekly update, July 29: Continuing upgrades to ProcessWire’s comments system and FormBuilder, along with a working example—More
    29 July 2022

Latest news

  • ProcessWire Weekly #431
    In the 431st issue of ProcessWire Weekly we'll check out the weekly update from Ryan in which he covers a new version of a popular Pro module, share some recent tutorials and other online resources, and more. Read on!
    Weekly.pw / 13 August 2022
  • Multi-language field translation export/import
    In this post we cover the details of a new module that enables export and import capabilities for multi-language fields in ProcessWire.
    Blog / 5 August 2022
  • Subscribe to weekly ProcessWire news

“I am currently managing a ProcessWire site with 2 million+ pages. It’s admirably fast, and much, much faster than any other CMS we tested.” —Nickie, Web developer