Some controls are not being translated (Corrected)

This forum is for programmers who have questions about the source code.
Post Reply
japonte
Posts: 13
Joined: Tue Apr 16, 2013 1:07 pm

Some controls are not being translated (Corrected)

Post by japonte » Mon Apr 29, 2013 5:32 pm

Some controls are is not being translated:
- gridMain In FormRecallLIst.cs.
- gridWaiting In ContrAppt.cs, gridEmpSche In ContrAppt.cs, groupSearch In ContrAppt.cs.
- gridMain in FormInsPlans.cs
- listRelathionship in FormGuardianEdit.cs. (Enum GuardianRelationship)

japonte
Posts: 13
Joined: Tue Apr 16, 2013 1:07 pm

Re: Some controls are not being translated (Corrected)

Post by japonte » Wed May 01, 2013 5:54 pm

Some controls are is not being translated:
- gridMain In FormRecallLIst.cs.
Changed: "col=new ODGridColumn(fields.InternalName,fields.ColumnWidth);" by "col = new ODGridColumn(Lan.g("TableRecallList", fields.InternalName), fields.ColumnWidth);"
and "col=new ODGridColumn(fields.Description,fields.ColumnWidth);" by "col = new ODGridColumn(Lan.g("TableRecallList", fields.Description), fields.ColumnWidth);"
- gridWaiting In ContrAppt.cs, gridEmpSche In ContrAppt.cs, groupSearch In ContrAppt.cs.
Added: "gridWaiting,
gridEmpSched,
groupSearch"
at the end of "Lan.C(this,new Control[]
{
butToday,..."
- gridMain in FormInsPlans.cs
Changed: "ODGridColumn col=new ODGridColumn("Employer",140);" by "ODGridColumn col=new ODGridColumn(Lan.g("TableTemplates", "Employer"),140);" and so on for each column.
- listRelathionship in FormGuardianEdit.cs. (Enum GuardianRelationship)
Changed: "listRelationship.Items.Add(relationshipNames);" by "listRelationship.Items.Add(Lan.g("enumGuardianRelationship", relationshipNames));"

User avatar
jsalmon
Posts: 1562
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: Some controls are not being translated (Corrected)

Post by jsalmon » Thu May 02, 2013 9:00 am

I'll add this to our internal bugs list to look into.
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

User avatar
jsalmon
Posts: 1562
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: Some controls are not being translated (Corrected)

Post by jsalmon » Wed May 08, 2013 11:10 am

Fixed and will be released with v13.1.29.
Note that some translations need to have Open Dental restarted before the changes will take affect. Ex: ContrAppt.cs grids.
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

User avatar
jsalmon
Posts: 1562
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: Some controls are not being translated (Corrected)

Post by jsalmon » Wed May 08, 2013 11:23 am

I forgot to mention that those fixes do not include the translations for the FormRecallLIst.cs columns. Those are user defined and are slightly more complex and I need to talk with my boss before fixing them. For now, you can manually add the translations to the "New Descript" column in the Fields Showing grid of the Setup Display Fields window. http://opendental.com/manual/displayfields.html
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

User avatar
jsalmon
Posts: 1562
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: Some controls are not being translated (Corrected)

Post by jsalmon » Mon May 13, 2013 10:42 am

Just verified with my boss that you should go through all of the Display Fields and put their column name translations in the "New Descript" section.
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

japonte
Posts: 13
Joined: Tue Apr 16, 2013 1:07 pm

Re: Some controls are not being translated (Corrected)

Post by japonte » Fri May 17, 2013 3:02 pm

Thank you.

Post Reply