Skip to Content Skip to Menu

How do I use the CB language plugin to make string changes?

  • GUEST
10 years 3 months ago #247032 by
I am working on a fresh install of Joomla (3.1.1) on PHP version 5.4.23 with Community Builder (1.9.1), CB Subs 3.0.0 and GroupJive.

I need to change the zip code to postal code because we are in Canada. I edited this directly in the file: component->com_profiler->plugin->language->default_language->default_language.php

This is not good because the edits will not be retained when I upgrade. I read that I need to download and install the CB language plugin and make language string changes there.

The attached picture shows my default language file plugin.
Two questions:
1. Is this the correct plugin?
2. How do I use this plugin to modify language strings in CB Subs, CB & Group Jive.

Thanks
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
10 years 3 months ago #247057 by krileon
Are you talking about the zip code field? You can edit the field directly in CB > Field Management and change its field title directly. If you want to translate it into something else you'll need to edit its define, which you can find in the below file.

components/com_comprofiler/plugin/language/default_language/default_language.php


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.

  • GUEST
10 years 3 months ago - 10 years 3 months ago #247065 by
Hi Kyle,

When I try to edit the title on a standard CB field, like Zipcode, I cannot change the name ("zipcode" - it is greyed out) but I can change the title ("_UE_ZipCode").





Are you saying that if I change the title to _UE_Postal_Code, the title for the Zipcode field will change to Postal Code?

---

On the other hand, for a CB field that I created, I see the opposite. I can change the title, but not the name, which matches what you describe. (see below)



Which one should I edit to change the field label?
Last edit: 10 years 3 months ago by . Reason: the image attached did not upload on the first submission because the file was too big, but the file was only 100KB.

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

  • GUEST
10 years 3 months ago #247066 by
Is there a reason why I cannot upload images to my forum posts? I had a screenshot that was only 100KB and it would not upload. I resized to 60KB and it did not upload either. What is the file size limit???

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
10 years 3 months ago #247094 by krileon

When I try to edit the title on a standard CB field, like Zipcode, I cannot change the name ("zipcode" - it is greyed out) but I can change the title ("_UE_ZipCode").

A field Name can't be changed. Only the Title can be changed. The zipcode field is just a standard field added by the sample data. You're welcome to delete it and create a new field named whatever you like or you can change the Title to whatever you like.

Are you saying that if I change the title to _UE_Postal_Code, the title for the Zipcode field will change to Postal Code?

No, because no such language string exists. Change it to "Postal Code" and it'll display exactly as typed.

Is there a reason why I cannot upload images to my forum posts? I had a screenshot that was only 100KB and it would not upload. I resized to 60KB and it did not upload either. What is the file size limit???

The filename needs to be alphanumeric only. Don't include spaces or special characters. Ensure the filename is relatively unique and try to avoid uppercase characters. We've strict security to avoid possible issues.


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