From my first question I've got the following code
Yii::t('transFile', 'AAA {BBB} CCC', array('{BBB}'=>Yii::t('transFile','BBB')))
Now in my transFile I have
return array(
'BBB'=>'translation of BBB'
'AAA {VAR} CCC'=>'translation_of_AAA CCC {VAR}',
);
This code is working good.
But I want the translation of BBB to exist in 2 types: BBBx
and BBBy
So the translation file will hold something like
'BBB'=>'translation of BBBx,translation of BBBy,'
So how to write the code in way so the translation file will take one or another variant of BBB translation and put it in text ?