Difference between revisions of "Projects:Go Bible/Changing the UI"

From CrossWire Bible Society
Jump to: navigation, search
m (Requirements: ,)
(Method: added steps)
Line 10: Line 10:
  
 
== Method ==
 
== Method ==
 +
# Make a secure backup copy of the Go Bible JAR file that you wish to change.
 +
# Using 7-Zip, with the Windows context menu, open the JAR file as an archive. You should see an internal file called <tt>ui.properties</tt>.
 +
# Take a copy of the required UI translation. If necessary, rename this text file to <tt>ui.properties</tt>.
 +
# Using a Unicode text editor, open the above file, and check that there is a proper EOL marker on the last line.
 +
# Drag & drop the file <tt>ui.properties</tt> into the JAR file already opened with 7-Zip.
 +
# Close the archive.
 +
# Test the updated Go Bible JAR file using a suitable emulator. I generally use the one from the mpowerplayer/apk
  
 
[[Category:Localization]]
 
[[Category:Localization]]
 
[[Category:Go Bible]]
 
[[Category:Go Bible]]

Revision as of 19:04, 8 September 2011

This page describes how to change the User Interface for an existing Go Bible, even if you don't have the original files used to create it.

Requirements

All you need is

  1. an existing Go Bible JAR file that you wish to change,
  2. a suitable UI translation encoded as a Unicode text file, and
  3. the Windows based archive utility called 7-Zip.

In addition, you may need a suitable Unicode text editor, to ensure that the UI translation matches the Go Bible version.

Method

  1. Make a secure backup copy of the Go Bible JAR file that you wish to change.
  2. Using 7-Zip, with the Windows context menu, open the JAR file as an archive. You should see an internal file called ui.properties.
  3. Take a copy of the required UI translation. If necessary, rename this text file to ui.properties.
  4. Using a Unicode text editor, open the above file, and check that there is a proper EOL marker on the last line.
  5. Drag & drop the file ui.properties into the JAR file already opened with 7-Zip.
  6. Close the archive.
  7. Test the updated Go Bible JAR file using a suitable emulator. I generally use the one from the mpowerplayer/apk