Support forum of the software localization tool Sisulizer


.NET, Delphi, ... - Sisulizer Localization Tool Support 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: Sisusupport, Renate.Reinartz, Markus.Kreisel, Ilkka.Salmenius
New Topic Reply Printer Friendly
How to exclude from translation a chunk of text? - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Tue May 13th, 2008 08:35 am
PM Private Upload Quote Reply
vvk80
Member
 

Joined: Fri May 4th, 2007
Location:  
Posts: 20
Status: 
Offline
Hello everyone!

I have a slight problem (perhaps). I have an HTML Help file (SDK reference) which I try to translate into another language with Sisulizer. Some HTML pages have source code examples enclosed in <pre class"code"><code class"monospace">Source code sample</code></pre>.

So it appears that Sisulizer has removed some line breaks (an white space critical for the source code indentation) from my code and did not parse it line by line... So my source code example look weird...  line breaks removed... choosing to use original as translation does not help...

Manually inserting line breaks is rather daunting and may cause too many errors...

Is there any way to fix I automatically without starting new project (may be some options some kind of "leave all pre tags alone", etc??? 

Last edited on Tue May 13th, 2008 08:39 am by vvk80

Back To Top PM Private Upload Quote Reply

 Posted: Tue May 13th, 2008 09:09 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2009
Status: 
Offline
Could you post a that HTML file here or send it to me, please.

support (at) sisulizer.fi



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

 Posted: Tue May 13th, 2008 09:15 am
PM Private Upload Quote Reply
vvk80
Member
 

Joined: Fri May 4th, 2007
Location:  
Posts: 20
Status: 
Offline
files posted

this is the original english CHM (devguide.zip)

 




 

 

Attachment: devguide.zip (Downloaded 8 times)

Last edited on Tue May 13th, 2008 09:18 am by vvk80

Back To Top PM Private Upload Quote Reply

 Posted: Tue May 13th, 2008 01:12 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2009
Status: 
Offline
Thare was a bulg in SL. Only texts immediately inside <pre> ... </pre> tags were preformatted (spaces and line breaks saved). If there was a new tag between them the texts were formated (spaces and line breaks removed)

<code>
procedure HelloWorld;
begin
  ShowMessage('Hello world');
end;
</code>

<pre>
<code>
procedure HelloYou;
begin
  ShowMessage('Hello you');
end;
</code>
</pre>

<pre>
procedure HelloAgain;
begin
  ShowMessage('Hello again');
end;
</pre>


In "Hello world" spaces and line breaks were removed
In "Hello you" spaces and line breaks were removed (this was a bug)
In "Hello again" spaces and line breaks were saved

I fixed the "Hello you" case. Are you using <pre> tags over <code> tags in each case? I can also implement an option that forces <code> tags to save spaces and line breaks too.

These will be in the next build.

With the current version you can't exclude tags. I will implement a possibility to do that later. Within a month.

best regards
Ilkka



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

 Posted: Wed May 14th, 2008 06:49 am
PM Private Upload Quote Reply
vvk80
Member
 

Joined: Fri May 4th, 2007
Location:  
Posts: 20
Status: 
Offline
Thanks a lot man!!!
This is a very great feature.
I think a feature that will allow to force tags to save spaces will be a need. However I think that it should be implemented as an option which can be turned off/on for each apperance of the tag.

So, as far as I understand I will have to wait for the next release. And when I install this release all spaces and line breaks will be treated normally in my existent (current) project??? Or I will have to perform some extra action to make it work as it expected to???

By the way thanks for a great support! :)

Back To Top PM Private Upload Quote Reply

 Posted: Wed May 14th, 2008 10:08 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2009
Status: 
Offline
Yes, you have to wait for the new build (1.6.28). It will become out later on this week. Just install it and rebuild your localized HTML files.

In that build the setting are global for all tags, but I will but tag specific options to my TODO list.



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

 Posted: Thu May 15th, 2008 02:22 am
PM Private Upload Quote Reply
vvk80
Member
 

Joined: Fri May 4th, 2007
Location:  
Posts: 20
Status: 
Offline
Would you please be so kind to notify when the new build will be released??? This week or next week?

Thank you very much in advance!

Back To Top PM Private Upload Quote Reply

 Posted: Thu May 15th, 2008 03:57 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2009
Status: 
Offline
I will notice you. We will release it today or tomorrow.



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

 Posted: Thu May 15th, 2008 06:31 am
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3150
Status: 
Offline
The easiest way to get a notice about new updates is to subscribe our newsletter:

http://www.sisulizer.com/support/mailinglist.shtml

As soon as a new update is online it sends a message. There is a max delay of an hour. Hope this helps.

Best

Markus




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

Current time is 12:26 am  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > How to exclude from translation a chunk of text?



WowUltra modified by Sisulizer Copyright © 2007-18 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Impress - Privacy statement

Sisulizer software localization tool - Three simple steps to localize