Python GUI Programming Cookbook - Third Edition

Python GUI Programming Cookbook - Third Edition

Preparing the GUI for internationalization

In this recipe, we will prepare our GUI for internationalization by realizing that not all is as easy as could be expected when translating English into foreign languages.

We still have one problem to solve, which is how to properly display non-English Unicode characters from foreign languages.

You might expect that displaying the German ä, ö, and ü Unicode umlaut characters would be handled by Python 3.7 automatically, but this is not the case.

Getting ready

We will continue to use the Python GUI we developed in recent chapters. First, we will change the default language to German in the GUI.py initialization code.

This recipe might be specific to the Eclipse PyDev...

Unlock full access

Continue reading with a subscription

Packt gives you instant online access to a library of over 7,500 practical eBooks and videos, constantly updated with the latest in tech

End of Section 5

Your notes and bookmarks