Go to: Synopsis. Return value. MEL examples.

Synopsis

localizedUIComponentLabel( string $englishPanelLabel )

Use this procedure to obtain the localized versions of UI Component labels such as "Status Line", "Shelf", "Time Slider", "Range Slider", "Command Line", "Help Line", "Maya Live Control Panel", "Tool Box", "Attribute Editor", "Tool Settings", "Channel Box / Layer Editor", "Layer Editor", and "Channel Box".

Return value

None

MEL examples

		// This command creates a menu item with the localized version of the attribute editor
		// name as its label.

		menuItem -label (localizedUIComponentLabel("Attribute Editor"))