Skip to Content Skip to Menu

Dropdown list with language strings

  • ericmuc
  • ericmuc
  • OFFLINE
  • Posts: 390
  • Thanks: 30
  • Karma: 2
  • Add-ons
4 years 1 month ago #320877 by ericmuc
Dropdown list with language strings was created by ericmuc
Hi,
I don't want to use Falang etc. and I don't see the solution at the moment and so I have to ask:

1) I created a drop down list with some language names
2) the language names are named like "lang_english" and translated in the language overwritten tab in the plugin
3) now the language names are shown in the right language in the drop down list
4) after saving only "lang_english" is shown (not translated because it is no label)

But what can I do, that the content "lang_english" is also translated with the inbuild overwritten function? Is that possible?

Thanks, best regards
Eric

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48548
  • Thanks: 8290
  • Karma: 1445
4 years 1 month ago #320888 by krileon
Replied by krileon on topic Dropdown list with language strings
Value will never translate (what is stored in the database). Label will translate (what is displayed in the dropdown and as the fields value). Why do you need Value to translate? That should only be an issue if you're using raw substitutions like [FIELD_NAME] since they output raw stored value. Most substitution usages for display purposes should strictly be using [cb:userfield field="FIELD_NAME" /] since it respects access permission's and will process a field normally.


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