O'Reilly logo

Plone 3 Products Development Cookbook by Marcos F. Romero, Juan Pablo Giménez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using i18ndude

In this chapter, we'll use three commands i18ndude comes with:

  • find-untranslated: To identify code where we should add i18n support
  • rebuild-pot: To create the catalog file we will use when translating
  • sync: To update translation files with changes that might have been made to the original pot file

Getting started

To perform the following actions, we will need a new view template for Video content type:

  1. Create a templates folder in the pox.video.browser package:
    mkdir ./src/pox.video/pox/video/browser/templates
    
  2. Create a new view template for Video content type:

    Note

    You can find the full version of this template in the source code for this chapter. It is based in the original file_view.pt of Products/CMFPlone/skins/plone_content in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required