RhinoCommon API
LocalizationLocalizeDialogItem Method |
Look in the dialog item list for the specified key and return the translated
localized string if the key is found otherwise return the English string.
Namespace: Rhino.UI
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.5
public static string LocalizeDialogItem( Object assemblyOrObject, string key, string english )
Public Shared Function LocalizeDialogItem ( assemblyOrObject As Object, key As String, english As String ) As String
Parameters
- assemblyOrObject
- Type: SystemObject
An assembly or an object from an assembly. - key
- Type: SystemString
[Missing <param name="key"/> documentation for "M:Rhino.UI.Localization.LocalizeDialogItem(System.Object,System.String,System.String)"]
- english
- Type: SystemString
The text in English.
Return Value
Type: StringLook in the dialog item list for the specified key and return the translated localized string if the key is found otherwise return the English string.