Package DE_EPAGES::Dictionary::API::XML::TranslationImportHandler
This module implements a SAX2 handler to import translation files.
Base |
DE_EPAGES::XML::API::BaseImportHandler |
Example |
<?xml version="1.0" encoding="iso-8859-1"?> <epages> <Language Language="de"> <Object Path="/HelpTopics/MBO_Design_ShopWizard"> <Attribute Name="HeadLine">Einrichtungsassistent benutzen</Attribute> </Object> </Language> ... use DE_EPAGES::Dictionary::API::XML::TranslationImportHandler qw (ImportDictionary); my $hhDictionary = ImportDictionary('Dictionary.en.xml'); |
@EXPORT_OK |
Functions
ImportTranslation
Imports translation-file from an XML file. If a dictionary exists the function extends this dictionary.
Syntax |
$Dictionary = ImportTranslation( $FileName); |
Input |
|
Return |
|