Beebox comes with a list of preset rules for various file formats (see Add New Rules). In some cases presets may be sufficient. However, you may need more control over which text is extracted for translation or which content is to be excluded. For all customization we recommend doing this interactively and online in Wordbee Translator:

 

A subset of formats will always require customization:

 

This is the easiest approach for creating your own text extraction rules. Configuration is done online.

You require a Wordbee Translator account. You can obtain a 30 days trial or buy the smallest version, Freelance Edition. See www.wordbee.com for pricing information.

Let's create a sample XML rule!

Create new rule

On this page you will find all XML configuration options.

The most important options are the file encoding and one or more XPATH expressions to specify which XML nodes or attributes are to be extracted for translation. In the example above we extract all "element" nodes having an attribute "type" of value "text". We tell the system that the node content is plain text. We further extract "element" nodes with "type" equals "html". For these nodes we tell the system that the content is HTML. HTML can be in CDATA sections or just be XML encoded. 

Please also see the Wordbee Translator documentation.

Save and test the new rule

Add new rule to Beebox

Once you are happy with your configuration, it is time to add it to your Beebox project. 

Your new rule is now installed!