add field for multi language

9 years 11 months ago - 9 years 11 months ago #243294 by melika04
add field for multi language was created by melika04
Hello
my web site is multi language
default language is Persian
and I need a new field for my register form
but I add new field to form it is just Persian or just English
I want the added field would be
as the same as default one.
this changing the language is changed
What should I do?
Please help me

Please Log in to join the conversation.

9 years 11 months ago #243304 by nant
Replied by nant on topic add field for multi language

melika04 wrote: Hello
my web site is multi language
default language is Persian
and I need a new field for my register form
but I add new field to form it is just Persian or just English
I want the added field would be
as the same as default one.
this changing the language is changed
What should I do?
Please help me


You need to install English and Persian CB Language plugins and add new strings to these language files.

Then add a new language string to both and use the language string definition for the CB field title.

See how this is done with existing CB fields (e.g., hits field has title name _UE_HITS).
The following user(s) said Thank You: melika04

Please Log in to join the conversation.

9 years 11 months ago - 9 years 11 months ago #243313 by melika04
Replied by melika04 on topic add field for multi language
I have installed English and Persian plugins
All these things I've done
Inside was the correct management
But is not new Field in the registry page
(my new field is Mobile)






Attachments:

Please Log in to join the conversation.

9 years 11 months ago #243325 by nant
Replied by nant on topic add field for multi language
how did you create the mobile field?

if you did through the cb field manager the name would be something like cb_mobile.
The following user(s) said Thank You: melika04

Please Log in to join the conversation.

9 years 11 months ago - 9 years 11 months ago #243344 by melika04
Replied by melika04 on topic add field for multi language
I created mobile field similar to _UE_Name in the cpanel in database(phpmyadmin)
and I define field to both language.php (Persian and English)




)
Attachments:

Please Log in to join the conversation.

9 years 11 months ago #243347 by nant
Replied by nant on topic add field for multi language
No, you should not tamper with database unless you know what you are doing.

Suggest you remove this database hack asap.

You need to create a new field using the CB Field Manager (that's what it is for).

In field title you put the _UE_MOBILE string.
The following user(s) said Thank You: melika04

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.239 seconds

Facebook Twitter LinkedIn