Switcher is a simple property editor that works as an alternative to the core true/false datatype.
It can be used for different kinds of true/false values e.g. on/off, active/deactive or enabled/disabled and gives a more visual feedback to the content editor. Furthermore it is great for content editors, who edit content from tablets, where the switch-button is touch friendly.
For labels you can use static values or localized values. To use localized values you refer to keys in language files in /Umbraco/Config/Lang/. You can use existing keys or define a new area or place the keys under an existing area.
en.xml:
<area alias="switcher">
<key alias="enabled">Enabled</key>
<key alias="disabled">Disabled</key>
</area>
da.xml:
<area alias="switcher">
<key alias="enabled">Aktiv</key>
<key alias="disabled">Inaktiv</key>
</area>
In the configuration of the datatype you then enter this format {{area_key}}:
On-label text: {{switcher_enabled}}
Off-label text: {{switcher_disabled}}
Release notes:
1.0.3
1.0.2
1.0.1
1.0.0