Added pluggable template parser docs. From the dev list, changed HTMLTemplateExpr to translate all dots in template variables to underscores, since EXPR's don't do dots, just like TemplateToolkit.
28 lines
1.1 KiB
Text
28 lines
1.1 KiB
Text
package WebGUI::i18n::English::_i18n; ##Be sure to change the package name to match the filename
|
|
|
|
our $I18N = { ##hashref of hashes
|
|
'key1' => { ##key that will be used to reference this entry. Do not translate this.
|
|
message => q|Internationalized message. WebGUI Macros work in here. Please use XHTML format for markup|,
|
|
lastUpdated => 1131394070, #seconds from the epoch
|
|
context => q|Provide some context to let the translator know what this message is used for.|
|
|
},
|
|
|
|
'key2' => {
|
|
message => q|Second message.|,
|
|
lastUpdated => 1131394072,
|
|
context => q|Provide some context to let the translator know what this message is used for.|
|
|
},
|
|
|
|
#If the help file documents an Asset, it must include an assetName key
|
|
#If the help file documents an Macro, it must include an macroName key
|
|
#If the help file documents a Workflow Activity, it must include an activityName key
|
|
#If the help file documents a Template Parser, it must include an templateParserName key
|
|
#For all other types, use topicName
|
|
'assetName' => {
|
|
message => q|My Asset|,
|
|
lastUpdated => 1131394072,
|
|
},
|
|
|
|
};
|
|
|
|
1;
|