Open dental language support

This forum is for programmers who have questions about the source code.
Post Reply
frknml
Posts: 16
Joined: Sat Oct 11, 2008 11:26 am

Open dental language support

Post by frknml » Wed Oct 29, 2008 3:13 am

I have 2 questions.
1)I'm going to develope open-dental program,My mission is i have to convert open dental's language english to turkish.I heard that there is a tool for this conversion what is this tool's name?If there is no tool how can i add turkish language support to open dental easily please give me an advice?

2)Before developing i tried to use open dental and i have a problem.When i try to open program it gives an error ("paramatername:User id,Keyword not supported") i wrote this problem before ,and the answer was; i have to change my os language turkish to english because while open dental is opening ,it converts all big letters into lower case.In turkish conversion of I to lower case is ı so in english "I" must be converted into i. i have to add a control code for this problem where should i add this control in the project?

Faruk NAMLI

User avatar
jordansparks
Site Admin
Posts: 5746
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Open dental language support

Post by jordansparks » Wed Oct 29, 2008 8:24 am

1. http://www.open-dent.com/manual/languages.html

2. Tough question. First, look for our connector. It's called MySql.Data.dll and is located in the "Required dlls" folder in the solution. The dll gets copied to the bin folder when it compiles and is also used by our installer. It puts the dll in the same folder as OpenDental.exe. That dll is where the problem is. We use version 1.0.9. We did try switching to version 5.0 a year or two ago when it first came out. But the author of the dll is frankly an idiot. They change the behavior of the dll without warning. A dll should not change behavior, but should instead add capabilities. The behavior changed in unexpected ways that cause a lot of bugs in our software. It took us about two weeks to sort out the mess and switch back to version 1.0.9. We are very hesitant to change versions again unless we have to. So the options are:
A. We switch to version 5.2. http://dev.mysql.com/downloads/connector/net/5.2.html We spend a few days dealing with the changes. Then we brace ourselves for the inevitable bugs that result.
B. You drop the 5.2 dll onto your computer and see what happens. If you can get it to work well enough to do your translations, that would allow us to avoid this issue for a while longer.
Jordan Sparks, DMD
http://www.opendental.com

frknml
Posts: 16
Joined: Sat Oct 11, 2008 11:26 am

Re: Open dental language support

Post by frknml » Fri Oct 31, 2008 4:32 am

Thanks for your response jordan;

How can i replace 5.2 dll for trial version?

User avatar
jordansparks
Site Admin
Posts: 5746
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Open dental language support

Post by jordansparks » Sat Nov 01, 2008 5:21 pm

You put the 5.2 dll into the same folder as OpenDental.exe.
Jordan Sparks, DMD
http://www.opendental.com

frknml
Posts: 16
Joined: Sat Oct 11, 2008 11:26 am

Re: Open dental language support

Post by frknml » Sun Nov 02, 2008 5:27 am

I tried to replace dlls but it didn't accept and i also tried in the source code and when i run the project i solved my turkish problem but when i passed the choose database screen it gave this warning "a newer version........download..." and i pressed ok button and i could do nothing(i think it needs a key) how can i solve this problem?


Faruk NAMLI

User avatar
jordansparks
Site Admin
Posts: 5746
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Open dental language support

Post by jordansparks » Sun Nov 02, 2008 10:56 am

My suggestion was to replace ONLY the MySql.Data.dll. Sounds like you replaced some other dll's too. You have to keep track of what you are doing, and I can't explain all that on a forum. Let's keep it simple. What happens when you drop the newer MySql.Data.dll into the application folder? Are you saying it won't start up? If so, then that means we need to use option A that I outlined earlier.
Jordan Sparks, DMD
http://www.opendental.com

frknml
Posts: 16
Joined: Sat Oct 11, 2008 11:26 am

Re: Open dental language support

Post by frknml » Sun Nov 02, 2008 12:02 pm

I replaced only Mysql.data.dll in the project and project worked this means turkish I or i problem was solved, My new problem is when i want to run project first screen came (choose database screen) and i pressed ok there is no turkish problem,after passing choose database screen program needs an update and when i accepted to update, program wanted a key.

User avatar
jordansparks
Site Admin
Posts: 5746
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Open dental language support

Post by jordansparks » Sun Nov 02, 2008 12:28 pm

It won't want to update unless you accidentally started to run a higher version on the same database at some point. The simple solution is to use our installer to reinstall the trial database again, no other components.
Jordan Sparks, DMD
http://www.opendental.com

frknml
Posts: 16
Joined: Sat Oct 11, 2008 11:26 am

Re: Open dental language support

Post by frknml » Mon Nov 03, 2008 4:36 am

Thanks for your response Jordan;

I'm a developer and i took open-dental's source code.We want to add turkish language support to opendental and we want to sell it in turkey.How can we sell turkish open dental? What are the procedures for this activity?Please inform me.

Faruk NAMLI

Post Reply