Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Can I translate prompts?
posted

Hi.

We are a company from Spain. We are using the trial version and are interested in acquiring the full version.

We have seen several prompts, for example in grids (filtering), that we would want to translate into Spanish. Is that possible?

Thanks.

Best regards from Spain.

  • 469350
    Verified Answer
    Offline posted

         Yes, any text that is visible to the user can be translated using the ResourceCustomizer. You can find more information on the ResourceCustomizer and it's use in the deocumentation. 

  • 1922
    Verified Answer
    posted

    Hi,

    you can use the customizer property of the wingrid assembly.

     Have a look here:

    http://help.infragistics.com/NetAdvantage/NET/Current/CLR2.0/?target=Win_Customizing_Assembly_Resource_Strings.html

     a list of customizable strings can be found here:

    http://help.infragistics.com/NetAdvantage/NET/Current/CLR2.0/?target=Win_Assembly_Resource_Strings.html

     a sample for the filtering dialog would look like this (unfortunately in german):

     

    Infragistics.Shared.ResourceCustomizer rc;rc = Infragistics.Win.UltraWinGrid.Resources.Customizer;

     

     

    rc.SetCustomizedString("GroupByBoxDefaultPrompt", "Um nach einer Spalte zu gruppieren, ziehen Sie die Spaltenüberschrift hierhin.");

    rc.SetCustomizedString("RowFilterDropDownAllItem", "(Alle)");

    rc.SetCustomizedString("RowFilterDropDownBlanksItem", "(Leere)");

    rc.SetCustomizedString("RowFilterDropDownCustomItem", "(Benutzerdefiniert...)");

    rc.SetCustomizedString("RowFilterDropDownNonBlanksItem", "(Nicht Leere)");

    // Filter Dialog

    rc.SetCustomizedString("RowFilterDialogTitlePrefix", "Filter eingeben für");

    rc.SetCustomizedString("FilterDialogAddConditionButtonText", "Bedingung &hinzufügen");

    rc.SetCustomizedString("FilterDialogDeleteButtonText", "Bedingung löschen");

    rc.SetCustomizedString("FilterDialogOkButtonNoFiltersText", "&Keine Filter");

    rc.SetCustomizedString("FilterDialogOrRadioText", "Mit ODER Verbinden");

    rc.SetCustomizedString("FilterDialogOrRadio_AccessibleDescription", "Bedingungen mit logischem Oder verbinden.");

    rc.SetCustomizedString("FilterDialogAndRadioText", "Mit UND Verbinden");

    rc.SetCustomizedString("FilterDialogAndRadio_AccessibleDescription", "Bedingungen mit logischem Und verbinden.");

    rc.SetCustomizedString("RowFilterDropDownEquals", "Gleich");

    rc.SetCustomizedString("RowFilterDropDownGreaterThan", "Größer als");

    rc.SetCustomizedString("RowFilterDropDownGreaterThanOrEqualTo", "Größer oder Gleich");

    rc.SetCustomizedString("RowFilterDropDownLessThan", "Kleiner als");

    rc.SetCustomizedString("RowFilterDropDownLessThanOrEqualTo", "Kleiner oder Gleich");

    rc.SetCustomizedString("RowFilterDropDownLike", "Wie");

    rc.SetCustomizedString("RowFilterDropDownMatch", "Entspricht regulärem Ausdruck");

    rc.SetCustomizedString("RowFilterDropDownNotEquals", "Ungleich");

    rc.SetCustomizedString("RowFilterDropDown_Operator_Contains", "Enthält");

    rc.SetCustomizedString("RowFilterDropDown_Operator_DoesNotContain", "Enthält nicht");

    rc.SetCustomizedString("RowFilterDropDown_Operator_DoesNotEndWith", "Endet nicht mit");

    rc.SetCustomizedString("RowFilterDropDown_Operator_DoesNotMatch", "Entspricht nicht");

    rc.SetCustomizedString("RowFilterDropDown_Operator_DoesNotStartWith", "Beginnt nicht mit");

    rc.SetCustomizedString("RowFilterDropDown_Operator_EndsWith", "Endet mit");

    rc.SetCustomizedString("RowFilterDropDown_Operator_StartsWith", "Beginnt mit");

    rc.SetCustomizedString("RowFilterDropDown_Operator_NotLike", "Nicht wie");

    rc.SetCustomizedString("FilterDialogCancelButtonText", "&Abbrechen");

    }