SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Multiline Resourcestrings

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
HenrichD



Joined: 06 May 2003
Posts: 8
Location: Cary, NC 27511, USA

PostPosted: Wed May 07, 2003 5:50 pm    Post subject: Multiline Resourcestrings Reply with quote

How do I translate multiline resourcestrings ?

(O.k., I could avoid them in my own code - but how about the multiline resourcestrings in the VCL / other components ?)

I'm looking for a solution for :

resourcestring
// We don't want tsilang 'const string expert' to touch this code
{TSI:IGNORE ON}
rsMessageBox = 'Hello World';
rsTwoLines ='This is Line 1'+#13#10+'This is Line2';
{TSI:IGNORE OFF}

and simular.
Back to top
View user's profile Send private message
gaivans



Joined: 29 Nov 2002
Posts: 71

PostPosted: Thu May 08, 2003 7:01 am    Post subject: Reply with quote

Hello,

Both the Translation Editor and SIL Editor have the embedded "Multiline Editor" so when you have added any strings to translation data you can edit them as multilines.

To launch the multiline editor click the menu "Tools|Multiline Editor" or "Ctrl+Enter".
Back to top
View user's profile Send private message AIM Address MSN Messenger
BillHop3



Joined: 29 Sep 2004
Posts: 10

PostPosted: Thu Nov 18, 2004 7:04 pm    Post subject: Reply with quote

In a .SIL...
[Multilines] are stored with commas separating the lines
Multi-line [Strings] are stored with 0x19 + 0x1A separators
When Exported as a .SIB...
[Multilines] are streamed with 0x01 separators
Multi-line [Strings] are streamed with 0x19 + 0x1A separators
If the .SIB is Exported back out as a .SIL...
[Multilines] are stored with commas separating the lines
Multi-line [Strings] get broken up by CR + LF, which corrupts the file.
Back to top
View user's profile Send private message AIM Address
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Fri Nov 19, 2004 5:12 am    Post subject: Reply with quote

Thanks for note. Will try to fix this.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group