Daxe
Daxe
Home pageSummaryPage for printing<-

Strings

All the texts (also called strings) may have to be changed in the interface created with the configuration. Either to improve readability without having to change the schema, or to provide an interface in another natural language for the same schema. Texts may also have to be provided for a set of languages, so that users can edit the same documents, with the same Daxe configuration, but with an interface entirely in their native language.

For these reasons, the Strings element represents a set of strings for a given language and country, and it is possible to specify several in the same config file. On can use for instance language="pt" country="BR" for Brazilian Portuguese, or just language="en" so specify English without any precision about the country.

You may have noticed that the real config file XML elements have French names, even though you see them in English in Daxe and in this documentation. This is because the config file for config files is using these Strings elements to define titles to use for elements when the user's system language is English.

Element definition

  • Configuration description

    Short line to describe the configuration, displayed in the dialog to create new documents with Jaxe.

  • Menu strings

    Strings associated to a menu, identified with its name

  • Title

    A title

  • Documentation

    A documentation

  • Element strings

    Strings associated to an XML element. Used to display the element, but also for this element's insertion menu if no string was defined for the menu.

  • Title for value

    A title to use for an element or attribute value

  • Attribute strings

    Strings associated to an attributes

Element tree

Element tree under Strings :

  • Strings @language @country (Configuration description | Menu strings | Element strings)+
    • Configuration description
    • Menu strings @menu (Title?, Documentation?, Menu strings*)
      • Title
      • Documentation
      • Menu strings @menu
    • Element strings @element (Title?, Documentation?, Title for value*, Attribute strings*)
      • Title
      • Documentation
      • Title for value @valeur
      • Attribute strings @attribut (Title?, Documentation?, Title for value*)
        • Title
        • Documentation
        • Title for value @valeur
Previous page