[SOLVED] strange behavior

8 years 2 months ago - 8 years 2 months ago #278409 by Henke_Carlsson
[SOLVED] strange behavior was created by Henke_Carlsson
I have a cb field named relationship status.

One of the alternatives a user can choose is Married. On swedish it is called "gift". But something wants to translate the word "gift" too gåva.

So something thinks that the word "gift" is english and wants to translate it to the swedish word "gåva"

What is this? I first thought I had enabled googles translate plugin. But it is the same on other browsers. So it must be some automatic translate feature in joomla or cb.

Please Log in to join the conversation.

8 years 2 months ago #278412 by krileon
Replied by krileon on topic strange behavior
Edit your CB language files and see if the word "gift" is being translated. It'd be as follows.

'gift' => 'gåva',

Best way to avoid these issues is use language strings. Example as follows.

Field Title: FIELD_RELATIONSHIP
Language String:
'FIELD_RELATIONSHIP' => 'gift',


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 to join the conversation.

8 years 2 months ago #278420 by Henke_Carlsson
Replied by Henke_Carlsson on topic strange behavior
Found it. I had translated the word gift in my language cbsub override

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.161 seconds

Facebook Twitter LinkedIn