View previous topic :: View next topic |
Author |
Message |
UweJan
Joined: 09 Oct 2018 Posts: 3
|
Posted: Tue Oct 09, 2018 3:18 pm Post subject: Globalizer writes localized resx-Files twice in the project |
|
|
Hello,
I have a Windows-Forms-Project in which some localied resources have the name in lower case and not in camel case like the form name. (I don't know the reason). For example:
TestForm.cs
TestForm.de.resx
TestForm.en.resx
testform.fr.resx
testform.es.resx
TestForm.ru.resx
After globalizer has written the resources it writes for all the forms with a resource in lower case name two entries in the project file. For example
EmbeddedResource Include=testform.de.resx>
DependentUpon>TestForm.cs</DependentUpon>
/EmbeddedResource>
EmbeddedResource Include=TestForm.de.resx>
DependentUpon>TestForm.cs</DependentUpon>
/EmbeddedResource>
EmbeddedResource Include=testform.en.resx>
DependentUpon>TestForm.cs</DependentUpon>
/EmbeddedResource>
EmbeddedResource Include=TestForm.en.resx>
DependentUpon>TestForm.cs</DependentUpon>
/EmbeddedResource>
I removed the '<' sign at the start, because your forum software don't like ist.
Therefore Visuel studio dont't compile the project. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Oct 10, 2018 11:06 am Post subject: |
|
|
Is it possible for you to send a sample project which has this problem (zipped) to support@infralution.com for us to have a look at?
Which version of Globalizer are you using? _________________ Infralution Support |
|
Back to top |
|
|
UweJan
Joined: 09 Oct 2018 Posts: 3
|
Posted: Wed Oct 10, 2018 1:48 pm Post subject: |
|
|
I send a sample project to you. I'm using version 4.0.1.0 |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Fri Oct 12, 2018 12:36 am Post subject: |
|
|
The problem here is that Globalizer treats entries in the project file as case sensitive and so doesn't recognise the lower case resources as the same as the Camel case. The lower case resources must have been created either manually or by some other tool. The easiest solution would be, to after scanning the resources, simply open your project, select the Show All Files option and then remove the offending lower case resources from the project. When you then build from Globalizer it will create the language resource files - with the correct Camel case. _________________ Infralution Support |
|
Back to top |
|
|
|