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) 
ProcessLanguage::wired()
(nothing)Wired 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.236

Latest news

  • ProcessWire Weekly #557
    In the 557th issue of ProcessWire Weekly we're going to share the latest core development news, introduce a new third party module, and more. Read on!
    Weekly.pw / 12 January 2025
  • Custom Fields Module
    This week we look at a new ProFields module named Custom Fields. This module provides a way to rapidly build out ProcessWire fields that contain any number of subfields/properties within them.
    Blog / 30 August 2024
  • Subscribe to weekly ProcessWire news

“ProcessWire is like a breath of fresh air. So powerful yet simple to build with and customise, and web editors love it too.” —Margaret Chatwin, Web developer