[SOLVED] [#8729] String missing in language file in 4.5.2 cb paid subscriptions

1 month 3 weeks ago #326594 by bgoutier
Hi,

If instead I put the override substitution in the CB Paid Subscriptions-fr-FR language it's working but how do you include the date in the substitution
string, I tried %s but it's not working.

Thanks.

Bernard Goutier

Please Log in to join the conversation.

1 month 3 weeks ago #326601 by krileon
The date is substituted in using exactly [date]. We rarely use sprintf anymore so you won't find too many %s usages (there's a few in CBSubs still not yet replaced).


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.

1 month 3 weeks ago #326604 by bgoutier
Hi,

It's working fine.

Thank you very much.

Bernard Goutier
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

1 month 3 weeks ago #326643 by beat
forge.joomlapolis.com/issues/8729 is now completed too.

We've now also made all status, payment methods, transaction types an pending reasons translatable, in the latest nightly CBSubs build available since a minute for download in Downloads and in the CB plugins web installer (there click the refresh button to see them)

Those will soon be uploaded to the translation platform for volounteer translators to do official translations:

Here the keys and English strings for any overrides in the mean time:

'CBSUBS_PAYMENT_STATUS_NOTINITIATED' => 'Not initiated',
'CBSUBS_PAYMENT_STATUS_PENDING' => 'Pending',
'CBSUBS_PAYMENT_STATUS_COMPLETED' => 'Completed',
'CBSUBS_PAYMENT_STATUS_PROCESSED' => 'Processed',
'CBSUBS_PAYMENT_STATUS_DENIED' => 'Denied',
'CBSUBS_PAYMENT_STATUS_REFUNDED' => 'Refunded',
'CBSUBS_PAYMENT_STATUS_PARTIALLY_REFUNDED' => 'Partially Refunded',
'CBSUBS_PAYMENT_STATUS_UNSUBSCRIBED' => 'Unsubscribed',
'CBSUBS_PAYMENT_STATUS_REGISTRATIONCANCELLED' => 'Registration Cancelled',
'CBSUBS_PAYMENT_STATUS_CANCEL_REVERSAL' => 'Canceled Reversal',
'CBSUBS_PAYMENT_STATUS_EXPIRED' => 'Expired',
'CBSUBS_PAYMENT_STATUS_FAILED' => 'Failed',
'CBSUBS_PAYMENT_STATUS_VOIDED' => 'Voided',
'CBSUBS_PAYMENT_STATUS_REVERSED' => 'Reversed',
'CBSUBS_PAYMENT_STATUS_IN_PROGRESS' => 'In Progress',

'CBSUBS_PAYMENT_TYPE_AMERICAN_EXPRESS_CREDIT_CARD' => 'American Express Credit Card',
'CBSUBS_PAYMENT_TYPE_AMEX_CREDIT_CARD' => 'amex Credit Card',
'CBSUBS_PAYMENT_TYPE_AMEXCO_CREDIT_CARD' => 'Amexco Credit Card',
'CBSUBS_PAYMENT_TYPE_BANK' => 'bank',
'CBSUBS_PAYMENT_TYPE_CREDIT_CARD' => 'credit card',
'CBSUBS_PAYMENT_TYPE_DEBIT_CARD' => 'Debit Direct',
'CBSUBS_PAYMENT_TYPE_DINERS_CLUB_CREDIT_CARD' => 'Diners Club Credit Card',
'CBSUBS_PAYMENT_TYPE_DISCOVER_CREDIT_CARD' => 'DISCOVER Credit Card',
'CBSUBS_PAYMENT_TYPE_ECHECK' => 'echek',
'CBSUBS_PAYMENT_TYPE_INSTANT' => 'instant',
'CBSUBS_PAYMENT_TYPE_JCB_CREDIT_CARD' => 'JCB Credit Card',
'CBSUBS_PAYMENT_TYPE_MAESTRO_CREDIT_CARD' => 'Maestro Credit Card',
'CBSUBS_PAYMENT_TYPE_MASTERCARD_CREDIT' => 'mastercard credit',
'CBSUBS_PAYMENT_TYPE_MASTERCARD_CREDIT_CARD' => 'MasterCard Credit Card',
'CBSUBS_PAYMENT_TYPE_MASTERCARD_DEBIT' => 'mastercard debit',
'CBSUBS_PAYMENT_TYPE_MASTERCARD_PREPAID' => 'mastercard prepaid',
'CBSUBS_PAYMENT_TYPE_ONLINE' => 'online',
'CBSUBS_PAYMENT_TYPE_OFFLINE' => 'Offline',
'CBSUBS_PAYMENT_TYPE_PAYPAL_EC' => 'paypal ec',
'CBSUBS_PAYMENT_TYPE_POSTFINANCE_CARD' => 'Postfinance Card',
'CBSUBS_PAYMENT_TYPE_POSTFINANCE_E_FINANCE' => 'Postfinance e-finance',
'CBSUBS_PAYMENT_TYPE_STRIPE' => 'stripe',
'CBSUBS_PAYMENT_TYPE_VISA_CREDIT' => 'VISA credit',
'CBSUBS_PAYMENT_TYPE_VISA_CREDIT_CARD' => 'VISA Credit Card',
'CBSUBS_PAYMENT_TYPE_VISA_DEBIT' => 'VISA debit',

'CBSUBS_TRANSACTION_TYPE_SUBSCR_PAYMENT' => 'Subscription payment',
'CBSUBS_TRANSACTION_TYPE_SUBSCR_SIGNUP' => 'Subscription signup',
'CBSUBS_TRANSACTION_TYPE_NEW_CASE' => 'New case',

'CBSUBS_PENDING_REASON_ECHECK' => 'eCheck',
'CBSUBS_PENDING_REASON_PAYMENTREVIEW' => 'Payment review at payment provider',

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

1 month 2 weeks ago #326670 by beat
Thanks again for reporting this miss!

All those strings and the ones that were reported missing elsewhere are now uploaded to our translations platform for official translations by the volunteer translators.

You are welcome to join them to help translation and localization! More information here:.
www.joomlapolis.com/localization

Regarding this thread, I'm marking it as solved now. You can always reply if anything is not yet solved.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.162 seconds

Facebook Twitter LinkedIn