I'm currently working on changing the recognition language from English to Chinese in our WPF application. To achieve this, I followed these steps:
1. Downloaded the necessary files for the Chinese language from the official MyScript website here https://developer.myscript.com/support/recognition-assets 2. Added the provided configuration (Conf) and resource files to our project. 3. Changed the language setting while initializing the editor:
// Set the language configuration.SetString("lang", "zh_CN");
Despite making these changes, I'm still experiencing the recognition language remaining in English.
Additionally, our application requires support for multiple languages, including English, Chinese, and German, all within a single app.
Could you please provide guidance on what additional steps may be necessary to resolve this issue and support multiple languages effectively? Your assistance is greatly appreciated.
Default configurations for all languages but English variants also attach a “secondary English” LK that allows the engine to recognize a mix of the target language and English. Except for this particular case, it is not expected to mix languages together.
The language must be configured before setting the part of the editor.
It is therefore not possible to have several languages for one editor (except English as a secondary language) or to change the language of an already existing part.
Default configurations for all languages but English variants also attach a “secondary English” LK that allows the engine to recognize a mix of the target language and English. Except for this particular case, it is not expected to mix languages together.
Best regards,
Gwenaëlle
1 person likes this
K
Kumarutkarsh
said
8 months ago
Hello Gwenaëlle,
Thanks for prompt response.
Can we have atleast 2 languages ? One as English and another as Chinese .
User should be able to switch between these 2 languages while using the application (without relaunching the application or may be we can detect system language and launch the application in Chinese if default language is other than English).
So that we can have multiple version of application supporting minimum 2 languages (English as default).
Thanks.
K
Kumarutkarsh
said
8 months ago
Hello,
Thanks again for all the help and reference link, let me try and get back to you.
Regards,
Utkarsh Kumar
K
Kumarutkarsh
said
8 months ago
Hello Gwenaëlle,
We were able to meet our requirement, thanks again for the all the help.
Regards,
Utkarsh Kumar
G
Gwenaelle @MyScript
said
8 months ago
Dear Utkarsh Kumar,
Thank you for your update. We are glad you wee able to meet your requirement!
Kumarutkarsh
Hi,
I'm currently working on changing the recognition language from English to Chinese in our WPF application. To achieve this, I followed these steps:
1. Downloaded the necessary files for the Chinese language from the official MyScript website here https://developer.myscript.com/support/recognition-assets
2. Added the provided configuration (Conf) and resource files to our project.
3. Changed the language setting while initializing the editor:
// Set the language
configuration.SetString("lang", "zh_CN");
Despite making these changes, I'm still experiencing the recognition language remaining in English.
Additionally, our application requires support for multiple languages, including English, Chinese, and German, all within a single app.
Could you please provide guidance on what additional steps may be necessary to resolve this issue and support multiple languages effectively?
Your assistance is greatly appreciated.
Thank you.
Hello,
Thank you for your update.
You can configure one language per Part, so in your application you can switch part when you want to switch your language. Please refer to https://developer-support.myscript.com/support/discussions/topics/16000029350
Default configurations for all languages but English variants also attach a “secondary English” LK that allows the engine to recognize a mix of the target language and English. Except for this particular case, it is not expected to mix languages together.
Best regards,
Gwenaëlle
- Oldest First
- Popular
- Newest First
Sorted by PopularGwenaelle @MyScript
Hello,
Thank you for contacting us.
The language must be configured before setting the part of the editor.
It is therefore not possible to have several languages for one editor (except English as a secondary language) or to change the language of an already existing part.
For more details, please refer to this post:
https://developer-support.myscript.com/support/discussions/topics/16000031673
Best regards,
Gwenaëlle
1 person likes this
Gwenaelle @MyScript
Hello,
Thank you for your update.
You can configure one language per Part, so in your application you can switch part when you want to switch your language. Please refer to https://developer-support.myscript.com/support/discussions/topics/16000029350
Default configurations for all languages but English variants also attach a “secondary English” LK that allows the engine to recognize a mix of the target language and English. Except for this particular case, it is not expected to mix languages together.
Best regards,
Gwenaëlle
1 person likes this
Kumarutkarsh
Hello Gwenaëlle,
Thanks for prompt response.
Can we have atleast 2 languages ? One as English and another as Chinese .
User should be able to switch between these 2 languages while using the application (without relaunching the application or may be we can detect system language and launch the application in Chinese if default language is other than English).
So that we can have multiple version of application supporting minimum 2 languages (English as default).
Thanks.
Kumarutkarsh
Hello,
Thanks again for all the help and reference link, let me try and get back to you.
Regards,
Utkarsh Kumar
Kumarutkarsh
Hello Gwenaëlle,
We were able to meet our requirement, thanks again for the all the help.
Regards,
Utkarsh Kumar
Gwenaelle @MyScript
Dear Utkarsh Kumar,
Thank you for your update.
We are glad you wee able to meet your requirement!
Best regards,
Gwenaëlle