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 

Bug - Translation not using base language if field is blank

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



Joined: 20 Aug 2008
Posts: 1

PostPosted: Wed Aug 20, 2008 3:39 pm    Post subject: Bug - Translation not using base language if field is blank Reply with quote

If i use 3+ languages and not all translations are filled in the sib file, the correct method should use the base language if a translation is missing. This however is not the case.
Example :

Language : L1 L2 L3

Caption L1 L2 L3
C1 C1 Blank Blank
C2 C2 C22 Blank
C3 C3 Blank C33

Language L1 selected -> C1 C2 C3
Language L2 selected next -> C1 C22 C3
Language L3 selected next -> C1 C22 C33 > this is incorrect
it should be C1 C2 C33, the base language when no translation available.
Language L2 selected next -> C1 C22 C33 > this is incorrect again.

It appears that a blank translation does not fire the event to translate and therefore keeps whatever the control had as its last contents.

Thanks,
Rob
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Wed Aug 20, 2008 5:42 pm    Post subject: Reply with quote

This is not a bug.
Just set TranslateType property to ttGetDeafult and you will have the behavior you need.
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