Quaero.DW.i18n

Fields

Methods

Quaero.DW.i18n

Quaero.DW.i18n Class

public class Quaero.DW.i18n;
Text strings for internationalisation. See JSON i18n.

Example

using Quaero;

DW.DocType dt = agent.doc_type( "01-invoice" );
System.Windows.Forms.Label dt_label = new System.Windows.Forms.Label();
dt_label.Text = dt.en;
dt_label.Text = dt.text( "en" ); // Equivalent to previous line

en Field

System.String (Quaero.DW.i18n)i18n.en;
The text in English. See JSON en.

fr Field

System.String (Quaero.DW.i18n)i18n.fr;
Le texte en français. Voir JSON fr.

text() Method

System.String Quaero.DW.i18n.text(System.String lang);
Fetches the text for a given language. Defaults to English if the language isn't known.

Parameters

lang
Desired language
[System.String]

Returns