There are different contents types in Tk. Here text and icons are of special interest. These contents is accessible through the properties of a window.

Jeszra generates Option Database entries for these properties, which allows customization and localization.

In addition, the Tk MsgCat package can be used. Usage and Local are defined inside the »MSG Catalog« preference page under the »Generate« section. The page is shown in Figure 7.3, “Message Catalog Preferences”.

Figure 7.3. Message Catalog Preferences

The Message Catalog is loaded and the localized text stored in the Option Database. The generated code looks like Example 7.10, “Message Catalog Usage”.