How do we add language strings, missing in the default English CB1.2.3?
Please have a look at my attached screenshot to see the untranslated menu bar for which I just could not find neither strings nor hard-coded values, regardless of how deep into the CB frame-work I drilled.
I've also tried to play with creating the missing strings in cbteamplugins_language.php and admin_language.php.
At the very end of the the former I've added:
CBTxt::addStrings( array(
'missing string 1' => 'foo1',
'missing string 2' => 'foo2',
'missing string 3' => 'foo3',
'missing string 4' => 'foo4',
'missing string 5' => 'foo5',
'missing string 6' => 'foo6'
));
and at the end of the latter I've added the above strings accordingly:
'missing string 1' => 'foo1',
'missing string 2' => 'foo2',
'missing string 3' => 'foo3',
'missing string 4' => 'foo4',
'missing string 5' => 'foo5',
'missing string 6' => 'foo6'
))
Cheers,
Alex Smirnov
Attachment missing_strings1.zip not found
Post edited by: alex2010, at: 2010/09/13 14:42
Post edited by: alex2010, at: 2010/09/13 14:43
Post edited by: alex2010, at: 2010/09/13 14:44
Post edited by: alex2010, at: 2010/09/13 14:45
Post edited by: alex2010, at: 2010/09/13 14:45
Post edited by: alex2010, at: 2010/09/13 17:13
Post edited by: krileon, at: 2010/09/14 19:33