add field for multi language

6 years 6 days ago - 6 years 6 days ago #243294 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
6 years 6 days ago #243304 by nant

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
6 years 6 days ago - 6 years 6 days ago #243313 by melika04
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:
6 years 6 days ago #243325 by nant
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
6 years 5 days ago - 6 years 5 days ago #243344 by melika04
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:
6 years 5 days ago #243347 by nant
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
Moderators: beatnantkrileon
Time to create page: 0.473 seconds

Facebook Twitter LinkedIn