Chapter 8. Internationalization and Testing
In this chapter, we will internationalize and test our Python GUI, covering the following recipes:
- Displaying widget text in different languages
- Changing the entire GUI language all at once
- Localizing the GUI
- Preparing the GUI for internationalization
- How to design a GUI in an agile fashion
- Do we need to test the GUI code?
- Setting debug watches
- Configuring different debug output levels
- Creating self-testing code using Python's
__main__
section - Creating robust GUIs using unit tests
- How to write unit tests using the Eclipse PyDev IDE