how to custom cspro default error message

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
Aarron

how to custom cspro default error message

Post by Aarron »

Good morning,

I need some help about customizing Cspro default error message. I develop a mask input and her CAPI version for a questionnaire on french and i want to customize some default error message like "Out of range" in order to have it on french as "Valeur incorrecte".

Thanks a lot,
Aaron
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: how to custom cspro default error message

Post by htuser »

Dear Aarron,
You must translate messages from the CSProRuntime.mgf who's located in the installation folder, eg. C:\Program Files (x86)\CSPro 6.2
Sincerely yours,
G.VOLNY, a CSProuser from Haiti, since 2004
Aarron

Re: how to custom cspro default error message

Post by Aarron »

Good morning,

Thanks for your consideration.
I had already tried this solution but modification are only available in my computer. Like indicated in my first message, i want to have modification in all of computer where mask input will be installed and on android application.

Kind regards
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: how to custom cspro default error message

Post by Gregory Martin »

If you want the special messages to appear on all machines, you have three options:

1) After installing CSPro, copy your special message file to the C:\Program Files (x86)\CSPro 6.2 folder.

2) Distribute the CSProRuntime.mgf file in the same folder as your data entry application. Put it in the same folder as the .ent file. Then CSEntry will use your French messages.

3) Generate a binary data entry file, a .pen file. The French messages will get bundled in with this file and will display on either the Windows or Android environments.
Aarron

Re: how to custom cspro default error message

Post by Aarron »

Wonderful.
Thanks for your consideration.
bhayusufianto
Posts: 10
Joined: October 23rd, 2017, 2:33 am

Re: how to custom cspro default error message

Post by bhayusufianto »

Dear Aarron, I'm about to do what you have done with CSProRuntime.mgf.

I opened CSProRuntime.mgf with notepad & tried to modify the message. But I couldnt save it as and replace since my action was denied. And how you did it to have modification in all of computer where mask input will be installed and on android application?

Could you brief me step by step how to do it?

Appreciate much your help.
khurshid.arshad
Posts: 571
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Re: how to custom cspro default error message

Post by khurshid.arshad »

Please see attached file.
Best.
a.
Attachments
MGF File.pptx
(784.43 KiB) Downloaded 356 times
bhayusufianto
Posts: 10
Joined: October 23rd, 2017, 2:33 am

Re: how to custom cspro default error message

Post by bhayusufianto »

Dear khurshid.arshad ,

Thank you very much for the reply, very useful for me as a newbie...
Post Reply