12
www.jarn.com Internationalization in Plone Hanno Schlichting Jarn https://svn.jarn.com/public/i18n-tutorial

Plone I18n Tutorial - Hanno Schlichting

Embed Size (px)

DESCRIPTION

Plone I18n Tutorial - Hanno Schlichting

Citation preview

Page 1: Plone I18n Tutorial - Hanno Schlichting

www.jarn.com

Internationalization in Plone

Hanno SchlichtingJarn

https://svn.jarn.com/public/i18n-tutorial

Page 2: Plone I18n Tutorial - Hanno Schlichting

www.jarn.com

Who am I?

Hanno Schlichting

IRC: hannosch

Plone Core Developer

i18n Team Leader

Developer at Jarn, Norway

Page 3: Plone I18n Tutorial - Hanno Schlichting

www.jarn.com

Overview

Terminology

i18n - Preparation

L10n - Translation

Multi-lingual content

Q&A

Page 4: Plone I18n Tutorial - Hanno Schlichting

www.jarn.com

Terminology - i18n

Internationalization (i18n)

Internationalization is the process of designing a software application so that it can be adapted to various languages and regions without engineering changes.

[wikipedia.org]

Page 5: Plone I18n Tutorial - Hanno Schlichting

www.jarn.com

Terminology - L10n

Localization (L10n)

Localization is the process of adapting software for a specific region or language by adding locale-specific components and translating text.

[wikipedia.org]

Page 6: Plone I18n Tutorial - Hanno Schlichting

www.jarn.com

Gettext

GNU ‘gettext’ is an important step for the GNU Translation Project, [...]. This package offers to programmers, translators, and even users, a well integrated set of tools and documentation.

[http://www.gnu.org/software/gettext]

Page 7: Plone I18n Tutorial - Hanno Schlichting

www.jarn.com

i18n

What needs to be adapted?

Page Templates

Python Code

GenericSetup

ZCML

Page 8: Plone I18n Tutorial - Hanno Schlichting

www.jarn.com

The example

tutorial.i18n

Paster / ZopeSkel based package

One content type - Book

Page 9: Plone I18n Tutorial - Hanno Schlichting

www.jarn.com

L10n

Message catalogs

Generate

Translate

Integrate

Page 10: Plone I18n Tutorial - Hanno Schlichting

www.jarn.com

Multi-lingual content

Products.LinguaPlone

Built on top of Archetypes

Support in standard Plone content types

Easy to adapt custom content types