Styling and Translations¶
We’ve picked up the SkeletonApplication’s styling, which is fine, but we need to change the title and and remove the copyright message.
The ZendSkeletonApplication is set up to use
functionality for all the text. It uses
.po files that live in
application/language, and you need to use poedit to change the text. Start poedit and
application/language/en_US.po. Click on “Skeleton Application” in the
Original strings and then type in “Tutorial” as the translation.
Press Save in the toolbar and poedit will create an
en_US.mo file for us.
To remove the copyright message, we need to edit the
layout.phtml view script:
// module/Application/view/layout/layout.phtml: // Remove this line: <p>© 2005 - 2012 by Zend Technologies Ltd. <?php echo $this->translate('All rights reserved.') ?></p>
The page now looks ever so slightly better now!