In English, the word "toggle" means to switch the state of something with two states. Turn on if off, and turn off if on. In programming, it could be written as
thing = !thing.
What would be the best translation for a phrase like "Toggle Edit Mode"? A few ideas:
Basculer mode édition
Activer ou désactiver mode édition
Changer mode édition
Commuter mode édition
Inversion mode édition
I got "basculer" from Google Translate, but it doesn't seem to be what I want, though I could be wrong. Alternative English translations include: tip, topple, tumble, overbalance.
I got "inversion" from Minecraft:
/toggledownfall -> "Inversion des intempéries"