使用C#Windows应用程序的脱机语言翻译器

时间:2019-03-06 11:23:59

标签: c# winforms translate

我正在尝试使用c#在Windows应用程序中创建语言转换器的脱机版本(将英语转换为葡萄牙语,反之亦然)。

是否可以在不使用互联网且不使用任何第三方api的情况下创建转换器应用程序?并且它具有用于完整翻译的任何预定义资源文件吗?

有人可以帮我吗?

1 个答案:

答案 0 :(得分:1)

It's possible to do this offline but you have a lot of issues to complement that:

  • You will need something to parse the words(in this case english/portuguese) and detect what language is originaly.

  • You will need some database, to store all the words you wanna translate for the application get them. That's why using API google translate or something like this it's easier.

  • If you really want to make it offline you will need a lot of work, because you really need to store the words somewhere...

  • You will something to convert the verbs (i'm portuguese, and we have a lot of verbs and conjugal times) and you need some script or something to convert that, or your application will not recognize.