Support forum of the software localization tool Sisulizer


Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius
New Topic Reply Printer Friendly
Translating XML Help & Manual Projects - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ...
AuthorPost
 Posted: Wed Aug 6th, 2008 05:02 am
PM Quote Reply
adi
Member
 

Joined: Sun Jun 17th, 2007
Location: New Zealand
Posts: 13
Status: 
Offline
Help & Manual 5 (http://www.ec-software.com/index.html) projects are saved in uncompressed XML. I would like to know if it's possible to use Sisulizer to translate these help projects? I could translate the chm but I'd rather translate the source. I've only used Sisulizer for software and HTML before, so XML is completely new to me.

I've tried creating a Sisulizer project from the XML files, but the Tags and XML element attributes are included and can be modified. The Help and manual documentation says I'm only meant to translate the "text data between tags with the translate="true" attribute".

Any idea how/if I can set up Sisulizer to do this?

Thanks,
Hayden

Back To Top PM Quote Reply

 Posted: Wed Aug 6th, 2008 08:37 am
PM Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 561
Status: 
Offline
Hi,

I don't know how Sisulizer supports XML files build by latest version of Help & Manual. Any time ago I used H&M, but it was very old v.3. I have localized many different XML files without any problems, and if you want I can to test your XML file.

I've tried creating a Sisulizer project from the XML files, but the Tags and XML element attributes are included and can be modified. The Help and manual documentation says I'm only meant to translate the "text data between tags with the translate="true" attribute".
Localization XML files with the Sisulizer is fully customizable, and you can select any attributes to localization or not to localization. You can use right click on XML source in SL project tree, select from context menu "Properties" and select "Tags" tab in soruce properties dialog window. Here you can check or uncheck attributes to localization. Look on screenshot with one sample project. You can also to find additional options (context menu) for these dialog box if you use right click on visible in "Tags" box elements.

Best,
Janusz

Attachment: screen.png (Downloaded 51 times)



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Quote Reply

 Posted: Thu Aug 7th, 2008 01:39 am
PM Quote Reply
adi
Member
 

Joined: Sun Jun 17th, 2007
Location: New Zealand
Posts: 13
Status: 
Offline
Thanks,
I understand much better now. I can now successfully make a Sisulizer project with one XML file, but I'm have trouble with a whole folder (containing many XML files). The problem is that Sisulizer seems to use one XML file as a template for the structure, but the other XML files can contain elements in different places to the reference file. Can Sisulizer account for tag structures that are not in the first file?

e.g. the first XML file knows about these structures.
<table><li><list><text> and <table><li><link> but not about <table><li><list><link>

I don't care about the structure of the XML, I just want certain tags localized.  I want it so that certain tags, no matter at which level or combination with other tags in the XML they occur, can be localized. Is this possible?

Thanks
Hayden

Back To Top PM Quote Reply

 Posted: Thu Aug 7th, 2008 07:12 am
PM Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 561
Status: 
Offline
Hi,

Probably during project creation you selected in Project Wizard following option - "Localize all similar files in a directory". Sisulizer use always this same settings (properties) for files added in  this way. It is could be sometimes very useful, for example if your project contains 50 HTML files, you can at one change some properties of all these files .e.g. encoding of 50 HTML files. But if you want use independent settings for each file, you should to choose in Project Wizard "Localize a file or files" option. After creating project with one source, you can at any moment add next file to project by selecting "Add source" from context menu of project tree pane. You can define independently all properties (e.g. Tags for XML sources) for all sources added in this way. Of course, you can also add to project source files of different types, for example XML, CHM and binary files.

Best,
Janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Quote Reply

 Posted: Mon Aug 11th, 2008 09:04 am
PM Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 561
Status: 
Offline

I don't care about the structure of the XML, I just want certain tags localized.  I want it so that certain tags, no matter at which level or combination with other tags in the XML they occur, can be localized. Is this possible?

Excuse me, I forgot about your second question… Excluding of selected tags with above mentioned method disable localization for all occurrences of selected tags in file, but you can instead it manually lock (items are visible in sheet, but aren’t localizable) or exclude (items aren’t visible in sheet) selected rows directly in project sheet, it is maybe more flexible solution, but unfortunately also more effort solution then using “Tags” tab. If you don’t want use “Tags” tab and you prefer manually excluding tags from localization, I suggest using “Sheet Filter” > “Text” filter for disabling all identical items at once. It is could be also useful for untypical XML files. Below is link to topic with sample information about using text filer for XML files:
http://forum.sisulizer.com/forum7/620.html

Best regards,
Janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Quote Reply

 Posted: Thu Aug 21st, 2008 12:52 am
PM Quote Reply
adi
Member
 

Joined: Sun Jun 17th, 2007
Location: New Zealand
Posts: 13
Status: 
Offline
Can the sheet filter>text>Context filter multiple context tags?
I tried "text, link" and "text link" and "text; link" and variations but I don't get anything out of it. I can filter "text" and "link" individually, but it doesn't make much sense to do it this way.

Cheers

Back To Top PM Quote Reply

 Posted: Thu Aug 21st, 2008 07:48 am
PM Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 561
Status: 
Offline
Hi Adi,

Filters work as Find/Search feature. You can to find these same options for Find and Text filters, e.g. Case sensitive, Whole words only, Accept wild chars etc. Search feature doesn't allows on multiple phrases search, and for this reason you also can't use at once multiple phrases in text filters, because if you will type e.g. "text; link", Sisulizer will be search strings contains both "text;" and "link".
I can filter "text" and "link" individually, but it doesn't make much sense to do it this way.Why not? For example, if you want exclude all strings contains in context "text" and "link" you can:
1. Set context filter on "text"
2. Select all contents of sheet or column
3. From context menu select > Exclude > Exclude selected rows (or originals)
4. Clear filter
5. Repeat above steps for "link"
Below is other example. I would like to have mark all OK and Cancel strings.
1. I will set Original filter on "OK" and check option "Whole strings only"
2. I will repeat all operations from above example, but instead Exclude, I will select "Marked" icon from sheet toolbar.
Above operations mark all "OK" and "Cancel" strings for future using. For example I can in future use for marked strings following filter: Sheet filter > Other > Marked > False

These above samples are only simple examples of Filter using, because filter could be used in many different combination.

Hint:
Since version 2008 you can save your filter settings for future use.

Best,
Janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Quote Reply

Current time is 04:43 am  
Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Translating XML Help & Manual Projects



WowUltra 1.11 Copyright © 2007 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize