News:

VoxCommando works with Amazon Echo, Domoticz, EventGhost, Google Assistant, IFTTT, iTunes, J.River Media Center, Kodi, MediaMonkey, Nest, Philips Hue, Vera, Wemo, and the list keeps growing!

Main Menu

Optional phrases

Started by D-Jay, January 10, 2011, 11:50:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

D-Jay

Hi,

I'm new to VoxCommando but I spent some time to create a multi-lang "Edition" for german and english users.
It's working nearly perfect for now but I for some cases, optinal phrases are needed.

Example:

"Toggle aspect ratio" is fine for english users but for germans I would like to translate it to

Phrase1 (optional): "nächstes", "nächster"
Phrase2 (main phrase): "Seitenverhältnis", "Anzeigemodus", "Bildformat"
Phrase3 (optional): "wechseln", "ändern"

I hope you know what I mean.
So... any change to use optional phrases?
Otherise, I would translate everything as simple phrasse.


-
Edit: Found the "optional" switch :)

jitterjames

cool.  you are catching on quick.

Just remember to always have at least 1 phrase that is NOT optional because it will carry the command ID.  Without it VC won't know what macro to execute.

Please post your full xml when you are finished.  there is a board just for this (I just remembered  :bonk)

here: http://voxcommando.com/forum/index.php?board=27.0

D-Jay

Quote from: jitterjames on January 10, 2011, 12:33:20 PM
cool.  you are catching on quick.

Just remember to always have at least 1 phrase that is NOT optional because it will carry the command ID.  Without it VC won't know what macro to execute.

Please post your full xml when you are finished.  there is a board just for this (I just remembered  :bonk)

here: http://voxcommando.com/forum/index.php?board=27.0

Be sure, I will post it :)