WebGUI's internationalization system makes it easy for you to create
applications that are globally useful. We encourage all WebGUI
developers to create internationalized plugins even if they don't
think their plugin will be used internationally. Check out http://i18n.webgui.org/
To use the internationalization system see the API reference for the WebGUI::International module.
To create internationalized messages, create a file in lib/WebGUI/i18n/English/
The internationalization system in WebGUI use perl modules in order to
keep the translations fast. The file takes the following format.
package WebGUI::i18n::English::SOMENAMESPACE;
our $I18N = {
'some message' => {
message => q|Put your message here|,
lastUpdated => 1039908565
},
'some other message' => {
message => q|Put your other message here|,
lastUpdated => 1099908565
}
};
1;
The last updated date is in Epoch format (the number of seconds since
January 1, 1970). To get todays epoch date run the following perl
command at the command prompt:
perl -e 'print time()."\n";'
See lib/WebGUI/i18n/English/_i18n.skeleton for details.
Keywords: i18n