[SOLVED] How do we add missed language strings

13 years 6 months ago #141977 by AlexSmirnov
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

AkeebaBackup.RU - безопасность Вашего Community Builder
Не тратьте свое и мое время впустую, - личные сообщения, отправленные без моего приглашения, удаляются без чтения.
Attachments:

Please Log in to join the conversation.

13 years 6 months ago #141982 by nant
Replied by nant on topic Re:How do we add missed language strings
Hi Alex,

its not that simple.

Code changes are required.
In your case (as we discussed offline) the issue is really related to language specific pluralization and gender related issues.

This will be looked at in much more detail during the CB 2.0 work and we will need your help and all other forge language managers to assist us.

Please Log in to join the conversation.

13 years 6 months ago #141985 by AlexSmirnov
Replied by AlexSmirnov on topic Re:How do we add missed language strings
According to my limited experience of working within the CB framework, I am already very encouraged that this logic of flexible adjustment of labels according to gender or plurals is present.

Looking forward to help you develop it further down the road.

The topic has been resolved.

Cheers,

Alex

AkeebaBackup.RU - безопасность Вашего Community Builder
Не тратьте свое и мое время впустую, - личные сообщения, отправленные без моего приглашения, удаляются без чтения.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.202 seconds

Facebook Twitter LinkedIn