Allow localization of ALL visible strings

Posted by: mikedempsey on 8 September 2017, 3:17 pm EST

  • Posted 8 September 2017, 3:17 pm EST

    We need to be able to localize any string that is displayed in the UI.

    This used to be standard practice in Spread (and every other component I use) prior to version 7.

    When the new Filters were added however there was no way to localize the strings that added.
    (There may be other features I don't use also)
  • Marked as Answer

    Replied 8 September 2017, 3:17 pm EST


    Spread only supports Chinese and Korean localization.

    Hence, in order to localize the strings in Filter Dropdown, for example in chinese, please change culture to chinese and then it will show strings in filter dropdown in chinese using code given below:-

    CultureInfo ci2 = new CultureInfo("zh-CN", true); // chinese localization
    System.Threading.Thread.CurrentThread.CurrentUICulture = ci2;

    fpSpread1.Sheets[0].Columns[0, 2].AllowAutoFilter = true;
    fpSpread1.Sheets[0].AutoFilterMode = FarPoint.Win.Spread.AutoFilterMode.EnhancedContextMenu;

    Hope it helps.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels