PDA

View Full Version : Can?t translate the "Create New Article" button


Classico
01-02-2010, 01:09 AM
Hi,

I?m translating the language of the VB4 but i can?t find the phrase for the "Create New Article" button in the CMS page. It?s the big one, in the right begining of the page.

I?ve done lots of searches in the Language and Phrases (ACP), even for each word, from but still not finding it....

Is it a bug, or am i too much time looking at it? :D

Can anybody help me?

Thanks!

--------------- Added 1262406115 at 1262406115 ---------------

I could find a part of the Phrase:

$vbphrase[create_new]
Create new

If i Translate this i?ll translate a part of the button " Create new Article " but for the rest ( " Article " ) still having no solution....

I think it?s a real bug. :erm:

Lynne
01-02-2010, 03:21 AM
It is actually a phrase and a variable:
{vb:rawphrase create_new_x, {vb:raw contenttype.title}}

create_new_x = Create New {1}
contenttype.title = $contenttype[title] which looks like it is defined in the function getToolbarView

Classico
01-02-2010, 10:31 AM
Hello Lynne!

Thank you! :)

Again, always attentive and available to help. :up:

And as I translate or change the name of this variable? :confused:

Lynne
01-02-2010, 03:08 PM
I don't think you can. I *think*, but I'm not sure, that that is a field in the database. Doing a translation on that is going to require some sort of plugin. That isn't good at all. If I were you, I would enter this problem into the bug tracker. Make sure you post the line from the template and tell them you want to translate the button but you can't translate a field that is coming from the database. Perhaps they can add something in the code to make it all a phrase.

Classico
01-03-2010, 01:41 AM
Well, i don?t know how, but i translate another phrase that traslates the second part of the "Create New Article" button... :eek:

I would like to Know, which one was....

dimitrisvb
03-24-2010, 12:01 PM
I searched for this phrase and couldn't find it either..

it remains untranlated!