Jump to content

C# Speech Ayarları Ve Tr Dil Uyuşmazlığı Hatası


lorder

Recommended Posts

Durumum acil projeyi bitirmem gerek internette aradım taradım ama bulamadım hata mesajı visual studio da

grammar oluşturma

string[] komutlar = new string[] { "Not", "Paint" };

Choices insChoices = new Choices(komutlar);

GrammarBuilder insGrammarBuilder = new GrammarBuilder(insChoices);

Grammar insGrammar = new Grammar(insGrammarBuilder);

//bundan sonraki kodda

sre.LoadGrammar(insGrammar);

//yukarısı

The language for the grammar does not match the language of the speech recognizer. dior dil uyuşmazlığı ama düzeltemedim. acama c# ta dil seçimi mi yapmam lazım yada windows tan mı ayarlamam lazım xp sp3 kullanıyorum.

Link to comment
Share on other sites

valla asıl yere bakmamışım :D microsoftun sitesine :D öğrencem artık yavaş yavaş teşekkürler orda bi değişiklik yapmam lazımdı kod şekli

Thread.CurrentThread.CurrentCulture = new CultureInfo("en-GB");

Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-GB");

benm düzenlememle söyle oldu

Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");

Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-US");

başkasının işine yarasın :D

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...