OmgDef / yii2-multilingual-behavior

Yii2 port of the yii-multilingual-behavior.
146 stars 60 forks source link

Suggestion: saveTranslation(s)? #51

Open andreCatita opened 8 years ago

andreCatita commented 8 years ago

Hello,

From what I can see, it seems that afterUpdate only triggers for 'relations'. If we have a model, that is only using the 'relation' relation. It won't update. It will only update, if we call multilingual() or localized(). Am I mistaken or is it so? Couldn't you tweak that afterUpdate, to trigger the update for BOTH relations (relations and relation)?

Thanks.