more G-Labs products

Author Topic: Program.Say with other language  (Read 1292 times)

March 19, 2015, 11:51:56 AM
Read 1292 times

KaZe

  • ****
  • Information
  • Sr. Member
  • Posts: 219
I try Program.Say with other language, but say the the words wrong.
For example:
Code: [Select]
Program.Say("élesitve", "hu-HU");
Instead of the "é", "©" say. ©lesitve (© = "copyright"; translated into Hungarian: "szerzői jog") and she said this: "szerzői joglesitve" :)

The speech feature works in another language or only in English?

March 19, 2015, 12:13:21 PM
Reply #1

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Please try:

Code: [Select]

Program.Say(Uri.EscapeDataString("élesitve"), "hu-HU");


if this is working, file a issue to github, so I will fix it asap.

Cheers,
g.

March 19, 2015, 12:30:05 PM
Reply #2

KaZe

  • ****
  • Information
  • Sr. Member
  • Posts: 219
Unfortunately does not work. Says the same now.

March 19, 2015, 12:59:11 PM
Reply #3

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Ok... found the solution and already fixed in hg source code.

As a momentary work-around you can try:

Code: [Select]

Program.Say("élesitve&ie=UTF-8", "hu-HU");


Cheers,
g.

March 19, 2015, 01:50:30 PM
Reply #4

KaZe

  • ****
  • Information
  • Sr. Member
  • Posts: 219