Skip to Content Skip to Menu

Language override not working

  • carin
  • carin
  • OFFLINE
  • Posts: 417
  • Thanks: 18
  • Karma: 0
10 years 8 months ago #241137 by carin
Replied by carin on topic Language override not working
"edit it then change the language string" -> this is exactly what I am not going to do. As I stated above: "in a way that it does not get overridden on the next update". Is there no update save customisation possible?

CB 2.0

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 8 months ago - 10 years 8 months ago #241141 by krileon
Replied by krileon on topic Language override not working
There's no way to change the language string without changing the language string. We have no override system in place. If your language plugin isn't default_language then you won't lose any changes when updating CB. You'll only lose changes if you install the plugin over it self.


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.
Last edit: 10 years 8 months ago by krileon.

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

  • carin
  • carin
  • OFFLINE
  • Posts: 417
  • Thanks: 18
  • Karma: 0
10 years 8 months ago #241145 by carin
Replied by carin on topic Language override not working
"We have no override system in place" - What???

Why dont you simply utilise the native Joomla feature? It is around for quite some time now.

"You'll only lose changes if you install the plugin over it self." -> which I have to do on the next update when the updated language file is published as well.

That is very unfortunate and disappointing.

CB 2.0

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 8 months ago #241166 by krileon
Replied by krileon on topic Language override not working

Why dont you simply utilise the native Joomla feature? It is around for quite some time now.

Because it does not fit our needs. We have a language plugin usage implemented that works perfectly fine. Simply edit your language files to whatever you want. You can create your own language plugins, install them, and your changes will never be lost unless you install over it. This is why we provide the English language plugin to get started. There are also numerous 3rd party language plugins being maintained by the community.

We are moving all language usage to our CBTxt usage that works quite efficiently and is easily extended. We'll be eventually adding an override system, but I don't know specifically when.


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.

  • carin
  • carin
  • OFFLINE
  • Posts: 417
  • Thanks: 18
  • Karma: 0
10 years 8 months ago #241169 by carin
Replied by carin on topic Language override not working
"maintained by the community", exactly that is the problem - my changes to the 3rd party language plugin are lost when there is an update. And I dont want to maintain my own plugin just beacause one single string is misspelled in the 3rd party language plugin, just doesnt make any sense.

Yes, please come up with an override system.

Cheers

CB 2.0

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 8 months ago #241190 by krileon
Replied by krileon on topic Language override not working

"maintained by the community", exactly that is the problem - my changes to the 3rd party language plugin are lost when there is an update. And I dont want to maintain my own plugin just beacause one single string is misspelled in the 3rd party language plugin, just doesnt make any sense.

Do a file DIFF using a program like Winmerge to see what has changed or use a merging program to merge the two files. There are plenty of options available. You can also program setup a private fork on our transifix below and just merge everytime there's an update and you'll keep your changes.

www.transifex.com/projects/p/cb/

The issue with our old define usage is that it uses defines. Once a constant has been defined it can not change. So having overrides right now will not work. Once we're full CBTxt usage we can look into it, but for now you'll need to maintain your language files accordingly.


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