|
|||
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > External References to other resources are removed
|
Moderated by: Sisusupport, Renate.Reinartz, Markus.Kreisel, Ilkka.Salmenius |
|
External References to other resources are removed - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support | |||||||||||||||||
Author | Post | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||
Massoud Member
![]() |
We have the following in our source resx file: <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <data name="Ribbon" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Ribbon\Ribbon.xml;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value> </data> The Ribbon.xml file referenced, in turn is translated with Sisulizer to Ribbon.es.xml etc. We want to be able to simply translate the value above to say: <value>..\Ribbon\Ribbon.es.xml;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value> However Sisulizer removes such reference. Can this be supported?
|
||||||||||||||||
|
| |||||||||||||||||
Massoud Member
![]() |
I found a similar requests from 8 and 9 years ago: https://www.sisulizer.net/view_topic.php?id=1959&forum_id=4 https://www.sisulizer.net/view_topic.php?id=1707&forum_id=3 But there was no answers. Last edited on Fri Mar 16th, 2018 05:10 pm by Massoud |
||||||||||||||||
|
|
|||||||||||||||||
Massoud Member
![]() |
Some feedback will be much appreciated. Thanks. Additional info: If we Exclude an icon row (which is a ResxFileRef in source) and in Source-->Properties-->Options select All for "Items that localized resource files contain", the resultant resx is invalid (will not compile in .NET).
|
||||||||||||||||
|
| |||||||||||||||||
Ilkka.Salmenius Administrator ![]()
![]() |
This is not supported but Sisulizer has a solution for this. If you have a referenced file then Sisulizer scans the XML file itself and lets you to localize the content of the file. When building the localized file the localized XML file is injected into the localized .resx file. Ilkka
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
|
|
|||||||||||||||||
Massoud Member
![]() |
Hi Ilkka, Is it possible to change it to support Referenced resources? The current behavior is not viable for these reasons: 1. The XML that is embedded in the Row is treated as text (not XML), so the translator does not know what to translate within it. 2. A referenced Picture (icon, png etc) is generating invalid resx file (please see steps in my previous post) Thanks Massoud
|
||||||||||||||||
|
| |||||||||||||||||
Massoud Member
![]() |
I finally found how to do it. Select the Row and set Format to XML. That's it. The ref to external icon issue is still there but we can live with it. You can ignore this request.
|
||||||||||||||||
|
Current time is 12:42 pm | |
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > External References to other resources are removed |
Sisulizer software localization tool - Three simple steps to localize