jQuery UI Widgets Forums General Discussions [Wish] : unify the localization

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 9 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • [Wish] : unify the localization #47957

    antonomase
    Participant

    Hi,

    Is it possible, for a further version, to have an unified way of translating the text.
    By example, for the dropdownlist, we have to use the placeHolder method.
    Can we have something similar to the grid localization object for all the objects ?

    var getLocalization = function () {
     var localizationobj = {};
      localizationobj.pagergotopagestring = "Aller a:";
      ...
      all the strings for the grid object
      ..
      localizationobj.placeholder = "Selectionner";
      ...
      all the strings for other object
      localizationobj.pleasewait = "Merci de patienter";
      ...
    

    and then, in all the objects,

     $("#jqxgrid").jqxGrid(
                {
                    width: 685,
                    source: dataAdapter,
                    localization: getLocalization()
     }
     $("#jqxdropdown").jqxGrid(
                {
                    width: 200,
                    localization: getLocalization()
     }
    

    Thanks

    [Wish] : unify the localization #47958

    Peter Stoev
    Keymaster

    Hi antonomase,

    I am sorry, but for now we do not plan breaking changes in our API. We will consider your suggestion.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.