Hi.
We are a company from Spain. We are using the trial version and are interested in acquiring the full version.
We have seen several prompts, for example in grids (filtering), that we would want to translate into Spanish. Is that possible?
Thanks.
Best regards from Spain.
Yes, any text that is visible to the user can be translated using the ResourceCustomizer. You can find more information on the ResourceCustomizer and it's use in the deocumentation.
I've used the ResourceCustomizer technique successfully for the UltraDockManager, UltraTabbedMdiManager and UltraToolbarsManager, but can't get it to work with the UltraGrid - the original English phrases are still appearing.
The only difference I can think of is that we're not using UltraGrid directly; we created a new class using UltraGrid as the base, thus this new control is not in the UltraGrid's assembly anymore. Would that cause the problems I'm having with ResourceCustomizer?
HermanWangNielsen said:Would that cause the problems I'm having with ResourceCustomizer?
No, that doesn't matter.
Can you post the code you are using to localize the strings? My guess is that you are using the wrong ResourceCustomizer. There is one for each assembly. And sometimes, the strings are not in the assembly you might expect. For example, sometimes the grid will show a message or a dialog that is defined in the Win assembly.
This is the item I'm trying to translate ("Drag a column...") in the Ultra Grid.
This is the line of code I'm using:
Infragistics.Win.UltraWinGrid.
);
Thanks for your help
Hi,
This looks right to me. I tried it out and it works fine on my machine.
Note that the string you are customizing here is the default string. The prompt can be set in code and any code setting will override the resource default:
this.ultraGrid1.DisplayLayout.GroupByBox.Prompt = "A";
So maybe your code is setting this property somewhere and that's what is causing the resource string not to be applied. Seems unlikely that you would assign the Prompt to the default text, but that's the only explanation I can think of.
I have attached my sample project here just so you can see if it works for you. If not, then maybe this is a bug in the version of NetAdvantage you are using. In which case, you probably just need to get the latest service release.
How to get the latest service release - Infragistics Community
I found the problem, another developer had set GroupByBox.Prompt and clobbered my translation. I wasn't aware it could be done in two places.
Thanks for the help.