[#7397] CBSubs - How to build up your own 'terms & condition' text which is translatable

5 years 3 months ago - 5 years 3 months ago #309458 by erichburkhard
I made the following steps:
1. Under Global Configuration I have set 'Default Editor' to none (...so no editor will set these disturbing paragraph elements anymore :-) )
2. I added the String CBSUBS_TERMS_AND_CONDITIONS here...



3. I added the following translation strings into the following 3 files:

File: CB Paid Subscriptions - de-DE
I added this: 'CBSUBS_TERMS_AND_CONDITIONS' => 'Deutsch',

File: CB Paid Subscriptions - es-ES
I added this: 'CBSUBS_TERMS_AND_CONDITIONS' => 'Spanish',

File: CB Paid Subscriptions - en-GB
I added this: 'CBSUBS_TERMS_AND_CONDITIONS' => 'English',

4. The result is as follows:



...if you look at the layout, you see, that the checkbox and the String is aligned correctly, this is a proof that there are no disturbing paragraph elements. But there is no translation at all. Interesting is also the fact that this is the only field that will not be translated. With the other fields I had no problem ....

regards
Attachments:

Please Log in to join the conversation.

5 years 3 months ago #309465 by krileon
Don't edit language files directly. Be sure to use language overrides shown below. These will also work for CBSubs language plugins.

www.joomlapolis.com/blog/kyle/18701-language-overrides-have-arrived

If still not working try adding the language override to your CB language plugins instead. Example override as follows.

Key: CBSUBS_TERMS_AND_CONDITIONS
Text: Deutsch


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.

5 years 3 months ago - 5 years 3 months ago #309469 by erichburkhard
Hi - I added now the string:

'CBSUBS_TERMS_AND_CONDITIONS' => 'german translation',

to the (german) CB language plugin (Filename: 'de-DE' ... via backend of this plugin and via override tab) - Still does not work ?!?

But are you sure that this is not a bug? ...Because it is only this field in this basket context that will not be translated ?!?
...all the other fields will be translated fine....

Please Log in to join the conversation.

5 years 3 months ago #309472 by krileon
Have reviewed the code where this is output and it's missing an API call which is resulting in the translation not working. Have added a bug ticket and fixed for next build release.

#7397


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.
The following user(s) said Thank You: nant, erichburkhard

Please Log in to join the conversation.

5 years 3 months ago #309597 by erichburkhard
HI - are there more detailed infos available about this next planned rel date? When I click on #7397 I get a 'not authorized' message

regards

Please Log in to join the conversation.

5 years 3 months ago #309599 by krileon
At this time you can't check CBSubs ticket status without asking. Bug has been fixed and is pending review before it's merged and released in a new build release.


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.

Moderators: beatnantkrileon
Time to create page: 0.223 seconds

Facebook Twitter LinkedIn