Symptoms
Order statuses or some other fields in billing control panel are displayed as String(NULL) or NULL under non-English locale.
Cause
The proper translation is present in the localization files but is not applied to the database.
- There is no translation in the localization file.
Resolution
a) Verify that the translation is present in the locale.lang.file (/usr/local/bm/conf/locale/locale.lang)b) Apply the locale translations to PBA-E database by running the configureLocale.pl script:
cd /usr/local/bm/tools/ ./configureLocale.pl syncLocalesFromDB -t toLocaleID
-t - an option to sync a specific locale
-w - an option to overwrite the existing translations in the database with new one, from the locale
-h - to get information about script options
2. If an order status translation is missing in the localization file, it can be added from the control panel:
You can check what order flow is currently used in Home>System>Settings>Order Flow.
Home > System > Settings > Order Processing > All Order Flows > [orderflow_that_is_used] > select order type > Order Statuses > [necessary_order_status]
click "Edit" button;
click on Language switcher near Description field;
select "Show All";
add translation;
- click "Save" button.
Otherwise a translation can be added to the locale (#116938) and the translations synced as described in the 1st part of the resolution.