Not a developer? Go to MovableType.com

Documentation

Internationalization

Throughout the registry strings are defined that are meant to be displayed through a user interface. These strings are frequently expressed in English. For those strings that may need to be translated in order to appear within the application according to user’s language preferences, those string can be wrapped in a “trans” subroutine to signal to Movable Type that a string is translatable. For example:

$registry = {
    permissions => {
        ‘system.createblog’ => {
            label => trans(“Create Blogs”),
            group => ‘sys
admin’,
            order => 100,
        },
    },
};

For more information on the internationalization of plugins and components, see TODO Plugin Internationalization.

Back

1 Comment

Arvind Satyanarayan

Arvind Satyanarayan on August 8, 2007, 9:11 p.m. Reply

This is a tip I discovered. label registry keys (or those keys that contains a label suffix) are automatically translated.