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
Custom text file with variable line structure - 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: Thu Jan 25th, 2018 10:58 am
PM Private Upload Quote Reply
heikovoss2
Member
 

Joined: Fri Nov 20th, 2015
Location:  
Posts: 16
Status: 
Offline
Hello,
I'm trying to translate a text file were the line structure is not always the same:

content1=Localize 1
content2=Localize 2##Localize 3
content3=Localize 4##Localize 5##Localize 6

As you can see numbers of "##Localize X" can differ (maximum=3).
I was not able to find rules which can cope with both cases.

Is it possible to create rules with different line structures like that at all?
If yes, do you have any suggestions how to solve the problem? I have no more ideas.

Kind regards
Heiko

Back To Top PM Private Upload Quote Reply

 Posted: Fri Jan 26th, 2018 03:18 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3213
Status: 
Offline
Dear Heiko,
I fear it is impossible that way in Sisulizer.
For a successful localization Sisulizer needs language pairs:

context=value
If you add your file into Sisulizer the wizard divides it automatically using regex.
It assumes, that you have one file per language, e.g.
English file:
context1=translationcontext2=...
German
context1=√úbersetzungcontext2=...
One context needs to have only one value. Yours have 1 to 3 values for one context.

For your file you need to create a simple program that splits your lines into something like this before localizing it in Sisulizer:
content11=Localize 1

content21=Localize 2

content22=Localize 3

content31=Localize 4

content32=Localize 5

content33=Localize 6

...

After the localization in Sisulizer you have to create your old file structure. You can automate the call of your combine tool after Sisulizer's build using SLMake. Hope this helps
Markus






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

 Posted: Fri Jan 26th, 2018 03:18 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2011
Status: 
Offline
Hi Heiko,

This is not possible. The regexe rules based text scanner assumes that the text file contains one or .more records each matching the rule you specify in the source dialog.

Ilkka



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

 Posted: Mon Jan 29th, 2018 08:13 am
PM Private Upload Quote Reply
heikovoss2
Member
 

Joined: Fri Nov 20th, 2015
Location:  
Posts: 16
Status: 
Offline
Thanks, I have thought that already.

Heiko

Back To Top PM Private Upload Quote Reply

Current time is 03:37 pm  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Custom text file with variable line structure



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