Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Language translation strings in CBSubs Invoice totalizers labelling

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 473
  • Thanks: 33
  • Karma: 3
11 years 2 days ago - 10 years 11 months ago #236119 by boyjahq
It seems that language translations for Invoice totalizers labelling under CBSubs General plugin settings->Display->Invoices are not supported. All other translations are working properly but the items on this page do not recognize replacement strings. Is there some way to get this to use language translations?

We are using
CBSubs 3.0.0
CB 1.9
Joomla 2.5.14
We have 2 languages: en-GB and ja-JP
Last edit: 10 years 11 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
11 years 15 hours ago #236221 by krileon
Please provide the exact strings that are not translating.


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.

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 473
  • Thanks: 33
  • Karma: 3
11 years 13 hours ago #236247 by boyjahq
Under Invoice totalizers labelling, the following strings are not translating:

Sub-Total 1 labelling: Subtotal 1 article description
Sub-Total 3 labelling: Subtotal article description

Also, in CBSubs Promotions the Promotion Name does not translate

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
11 years 12 hours ago #236250 by krileon

Under Invoice totalizers labelling, the following strings are not translating:

Sub-Total 1 labelling: Subtotal 1 article description
Sub-Total 3 labelling: Subtotal article description

You're trying to translate backend strings or the totalizers are not translating on frontend when viewing your basket? Those strings are backend only strings and can be found in the below language file. If they're missing from your CBSubs language plugin you'll need to add them. Also be sure to search your language plugin to ensure they're not duplicate translated as the last translation of a string is always used.

IN: /components/com_comprofiler/plugin/language/cbpaidsubscriptions-en-gb/admin_language.php
ON: Line 2055
Code:
'Subtotal 1 article number' => 'Subtotal 1 article number',
ON: Line 2062
Code:
'Subtotal article description' => 'Subtotal article description',

Also, in CBSubs Promotions the Promotion Name does not translate

I'm not sure it does. It doesn't say anything in its description regarding translations, but if it does you need to add them to the below file.

/components/com_comprofiler/plugin/language/cbpaidsubscriptions-en-gb/language.php

The above uses the below usage.

'Promotion Name' => 'Translated Promotion Name'


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.

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 473
  • Thanks: 33
  • Karma: 3
11 years 12 hours ago - 11 years 9 hours ago #236254 by boyjahq
I am not trying to translate the backend field label strings such as "Subtotal 1 article number". I am trying to translate the text that goes into that input box. Right now it says "Sub-total". If I create the definition string in the CBSubs language file:

"Sub-total" => "Subtotal 1", (for example)

it is not picked up. On the front end it still says "Sub-Total".

And of course I tried creating a definition in the language file for the Promotion Name. This also is ignored and what shows up on the front end is whatever text is in the Promotion Name input box in the backend.

For example, if I type "HOST 5-7 Years" as the name of the promotion and I put the following in the cbsubs language file:

"HOST 5-7 Years" => "Discount for Hosts of 5-7 years or more",

On the front end it shows "HOST 5-7 Years", NOT "Discount for Hosts of 5-7 years or more"
Last edit: 11 years 9 hours ago by boyjahq.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
10 years 11 months ago #236284 by krileon
Ah, thank you for all the information. This indeed does appear to be a bug as was able to duplicate and confirm. I've created a bug ticket for further investigation. Unfortunately I do not have a workaround at this time.

#4314


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