forked from sourceopen7/billing
-
Notifications
You must be signed in to change notification settings - Fork 14
How to Translate jBilling 4.x to a new language
Vikas Bodani edited this page May 4, 2016
·
7 revisions
This guide will help you carry out the translation of jBilling 4.1.x into your favourite language of your choice without any expert assistance.
- Download this file. messages.properties
- Open the file in a simple text editor, prefer notepad++, and translate the right hand side part of the values (i.e. values to the right of '=' sign). Do not change/translate the keys (values that are towards the left of the '=')
- Save the file with a new name. The name has to be messages_xx.properties. Replace xx for the 2 character ISO 639-1 language code of your target language. Language Codes
- Download this file: entityNotifications.properties
- Open the file in a simple text editor, prefer notepad++, and translate the right hand side part of the values (i.e. values to the right of '=' sign). Do not change/translate the keys (values that are towards the left of the '=')
- Save the file with a new name. The name has to be entityNotifications_xx.properties. Replace xx for the 2 character language code equivalent to what you found in step 3 of your target language
- Download this file. language.xml
- Open it in notepad++ or any other simple text editor. Make the new change-set for new translation language. First, copy the entire file contents and paste them in the bottom of the file jbilling-upgrade-4.1.xml. Change the change-set id with the new language name. Now, replace the value of code in with the value of code you found in step 3 and the value of Description in with the name of the language
- Now translate all of the text in the content field (showing in bold) into new language for all the international_description insert lines.
- "INSERT INTO international_description (table_id, foreign_id, psudo_column, language_id, content) VALUES (17, 5, 'description', (select max(l.id) from language l), 'Toutes les commandes');"
- Save the file
- Send both files to support@webdataconsulting.in OR
- You can directly build jBilling from source to apply the new language. For this, first you should add the messages_xx.properties and entityNotifications_xx.properties then at last add the change-set that you have added in language.xml at the bottom of this file jbilling-upgrade-4.1.xml
Thank you!
From: Web Data Technologies LLP. For World Class jBilling Support contact us here: [jBilling Support](mailto: support@webdataconsulting.in)
Try our support. It will be 100 times better than the official support at the same cost.
Thank you!
From: Web Data Technologies LLP. For World Class jBilling Support contact us here: [jBilling Support](mailto: support@webdataconsulting.in)
[User Guides](User Guides)