i've tryed the example in umbraco.tv "Using .NET User Controls" for languages in a usercontrol but give me some errors such as: Error from compiler: in the Resource namespace already exist a definition of class; etc..
I used the method that Umbraco uses, and created a new project which I have then reused, to get an external XML file with the translations. Alternatively could you use the Umbraco dictionary method within your code.
Could you maybe post the entire error message? This might help identify the problem.
Are these two files the only ones under App_GlobalRersources? Because if you have sevral ones, they cannot have the same names, even in subdirectories under App°GlobalResources.
In the Project.resx i store the english words.. And then run correctly with the domains mapping ! HoweverI still can notunderstand whatwasmy mistakepreviously..
.Net UserControl & Languages
Hello everybody!
i've tryed the example in umbraco.tv "Using .NET User Controls" for languages in a usercontrol but give me some errors such as: Error from compiler: in the Resource namespace already exist a definition of class; etc..
I have these files in the solution:
App_GlobalResources
Project.resx
Project.en-EN.resx
I empty the code of Project.en-EN.Designer.cs but still not work :(
Anyone could explain me how can i manipulate languages in a usercontrol? Are there other ways?
Thanks
Cheers
Fabio
I used the method that Umbraco uses, and created a new project which I have then reused, to get an external XML file with the translations. Alternatively could you use the Umbraco dictionary method within your code.
Richard
Hi Fabio,
Could you maybe post the entire error message? This might help identify the problem.
Are these two files the only ones under App_GlobalRersources? Because if you have sevral ones, they cannot have the same names, even in subdirectories under App°GlobalResources.
Cheers,
Michael.
Richard it's a good idea, Thanks !
Michael i found the solution, i have these files:
App_GlobalResources
Project.resx
Project.it-IT.resx
In the Project.resx i store the english words.. And then run correctly with the domains mapping ! However I still can not understand what was my mistake previously..
Cheers,
Fabio
Hi Fabio,
One more mystery of software I guess ;-)
Good to hear you sorted it out!
Cheers,
Michael.
is working on a reply...