You can create your own Localizer class that inherits from DevExpress.XtraBars.Localization.BarLocalizer. Override the GetLocalizedString method and return what value you'd like for the minimize/maximize buttons. For instance:
public class MyRibbonLocalizer : DevExpress.XtraBars.Localization.BarLocalizer
{
public override string Language
{
get
{
return System.Globalization.CultureInfo.CurrentCulture.Name;
}
}
public override string GetLocalizedString(BarString id)
{
switch (id)
{
case BarString.MinimizeButton:
return "My Minimize string";
case BarString.MaximizeButton:
return "My Maximize string";
default:
return base.GetLocalizedString(id);
}
}
}
You will need to register this localizer class in your RibbonForm in order for it to work. I typically do this within the constructor:
DevExpress.XtraBars.Localization.BarLocalizer.Active = new MyRibbonLocalizer()