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 

MergeAllFromFile question

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



Joined: 29 Jan 2009
Posts: 4

PostPosted: Wed Mar 15, 2017 10:10 am    Post subject: MergeAllFromFile question Reply with quote

I have an application, with main form with SiLang + SiLangDispatcher,
and all subforms with SiLangLinked components.

I have a sib file with all project translations (main form + all child forms).

I need to merge translations in my whole project.

If I run on main form Silang.MergeAllFromFile, only Main form translations are loaded,
to get all application translated, I need to run SiLangLinked.MergeAllFromFile on every form.

Is there a way to merge (not overwrite, because I need to keep newly strings that exist in application and not in sib file) all project with a single command?

Thanks

Claudio Basso
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2074

PostPosted: Wed Mar 15, 2017 7:32 pm    Post subject: Reply with quote

Hello,

You can just use SIL Editor to merge with command line:
sileditor.exe -morig [FULL_PATH_TO_THE_FILE]\orig.sil -mnew [FULL_PATH_TO_THE_FILE]\new.sil -mlang German

or if you don't store translations in external file you can use OnLinkToDispatcher even of TsiLangDispatcher and perform run-time merging for every form created.
Back to top
View user's profile Send private message
cbasso



Joined: 29 Jan 2009
Posts: 4

PostPosted: Thu Mar 16, 2017 7:01 am    Post subject: Reply with quote

Thanks,

OnLinkToDispatcher event works great,
it's exactly what I need.

Best regards
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