Question

We need to add a "Customized" word to some payment descriptions, like this:


What would be the procedure to achieve it?


Answer

Based on this documentation page: https://docs.cloudblue.com/cbc/21.0/Localization-Guide/Installing-Custom-Locales-for-Billing-Component.htm

The procedure would be the following:


1. Enter bss-www pod, for example:

# kubectl  -n <YOUR_NAMESPACE> exec -ti bss-www-7f546479f8-jwg67 -- bash

2. Find the original line here:

# grep "Payment for Order" /usr/local/bm/share/language-packs/en/locale.en
"Payment for Order $1." "Payment for Order $1."

3. Add the modified line here (create the file if necessary):

# cat /k8s_data/locales/customization/locale.en.custom
"Payment for Order $1." "Customized Payment for Order $1."

4. Exit from the bss-www pod.

And restart PBA:

kubectl delete pod -l app=bss -n <YOUR_NAMESPACE>

Note: It is always recommended to re-login to the control panel to see any changes. 

Note 2: The above change (and other similar changes) will be applied only to newly generated documents. 

Note 3: The above example English locale is customized, however you may use it to customize other languages as well.