$readonlyField = $fields->dataFieldByName('Title')->performReadonlyTransformation();$this->assertType( $readonlyField->class, $fields->dataFieldByName('Title_original'),'Translatableadds the original value as a ReadonlyField in "translation mode"'); } 开发者ID:neopba,项目名称:silverstripe-book...
(Not just for translation) # The work described in this post is motivated by the desire to make it as easy as possible to write software that is accessible to people regardless of the language(s) they use to communicate. But message formatting is needed even in user interfaces that only ...