VoxCommando Forum

Help and Support (Using VoxCommando) => XBMC (Old board see 'KODI' above) => Topic started by: D-Jay on January 10, 2011, 11:50:34 AM

Title: Optional phrases
Post by: D-Jay on January 10, 2011, 11:50:34 AM
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 :)
Title: Re: Optional phrases
Post by: 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
Title: Re: Optional phrases
Post by: D-Jay on January 10, 2011, 01:32:20 PM
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 :)