Author Topic: Optional phrases  (Read 2991 times)

0 Members and 1 Guest are viewing this topic.

D-Jay

  • Jr. Member
  • **
  • Posts: 5
  • Karma: 0
    • View Profile
Optional phrases
« 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 :)
« Last Edit: January 10, 2011, 12:07:01 PM by D-Jay »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Optional phrases
« Reply #1 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

D-Jay

  • Jr. Member
  • **
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Optional phrases
« Reply #2 on: January 10, 2011, 01:32: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 :)