Fills up with the entries from MO file $filename
Parameters
$filename
stringrequired- MO file to load
Source
public function import_from_file( $filename ) {
$reader = new POMO_FileReader( $filename );
if ( ! $reader->is_resource() ) {
return false;
}
$this->filename = (string) $filename;
return $this->import_from_reader( $reader );
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.