Skip to Content Skip to Menu

how to translate dynamically added values in cb

  • kosmos_
  • kosmos_
  • OFFLINE
  • Posts: 62
  • Thanks: 4
  • Karma: 0
9 years 6 months ago #262903 by kosmos_
Hi.

Could you advise how to translate dynamically added labels in "drop down field" and "Default registration value" in "text area" fields?

Thanks

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 6 months ago #262907 by nant

kosmos_ wrote: Hi.

Could you advise how to translate dynamically added labels in "drop down field" and "Default registration value" in "text area" fields?

Thanks


What do you mean by "dynamically added labels"?

What CB version?

What Joomla version?

Please Log in or Create an account to join the conversation.

  • kosmos_
  • kosmos_
  • OFFLINE
  • Posts: 62
  • Thanks: 4
  • Karma: 0
9 years 6 months ago #262908 by kosmos_
Hi Nick.

Sorry for disturb.

I have a registration page: medicine-prof.com/en/cb-registration/registers

On this page i have the first field with the type textarea: "пользовательское соглашение"
I know how to translate field name but can't file how to translate Default Registration Value (the text inside textarea)
The same with the field "Ваш статус"
i can't find how to translate values for select list.

Thanks.

joomla 3.4.1
cb 2.0.7

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago #262918 by krileon
The default registration value isn't translatable. It's the stored value and stored values don't translate. Select field values don't translate either; only their labels do, but no one should see the value anyway as only the label should be displaying.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • kosmos_
  • kosmos_
  • OFFLINE
  • Posts: 62
  • Thanks: 4
  • Karma: 0
9 years 6 months ago #262922 by kosmos_
How to translate select field's labels?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago #262942 by krileon
You add them to your CB language files and translate as needed. Ideally your labels should just be a language key. Example as follows.

Label: OPTION_LABEL

'OPTION_LABEL' => 'Option Label',

See the below page for language usage information.

www.joomlapolis.com/cb-solutions/languages

Another great resources is the recently released CB 2.x Primer Book.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum