-
Log into CP server as cpanel user.
All affected files must have cpanel:cpanel ownership.
Create custom bundle directory, e.g., ~cpanel/shiva/custom/bundles
if it is not created yet.
Set custom bundle location in hsphere.properties (if it's not set):
CUSTOM_TEMPLATE_BUNDLE=custom.bundles.hsphere_lang
CUSTOM_MENU_BUNDLE=custom.bundles.menu
CUSTOM_USER_BUNDLE=custom.bundles.messages
Find the string you want to modify among default or custom bundles.
Create the corresponding custom bundle file if it doesn't exist to place modified string there.
For example, you are going to change the label Shell Access to SSH Access.
It is set in the
~cpanel/shiva/psoft/hsphere/lang/hsphere_lang.properties
file. Create the file
~cpanel/shiva/custom/bundles/hsphere_lang.properties
if it isn't there already.
Copy the line with the identifier and the value you want to change into the custom bundle
and change its value the way you want. You should use two single quotes
(apostrophes) instead of one in labels containing curly brackets, such as {0}. For example:
search.view_invoice = View Client's Invoice
but:
billing.del_no = No, I don''t want to delete {0}
Run language bundle compiler to implement customization:
java psoft.hsphere.LangBundlesCompiler