To handle the property I have implemented a new class 
UT_Language, which handles translation of the language property 
into a locale-specific string for display in the GUI. I have added a 
few arbitrary languages, instructions on adding more are in 
ut_Language.cpp

I also added XAP_Dlg_Language and the unix version; instructions 
for creating the other platform-specific dialogues are in 
xap_Dlg_Language.h (it is really just a listbox). In order not to 
break the tree, I have not committed the changes to the XAP 
makefiles, so that the dialogue is not built at the moment.

On couple of places in the other files I had to disable the Language 
related code; this is done by #ifdef LANGUAGE (LANGUAGE is 
not defined, but it is easire to find in the files than using #if 0).

Files added:
ut_Language.h/cpp
xap_Dlg_Language.h/cpp
xap_UnixDlg_Language.h/cpp

Files modified:
fv_View.cpp
xap_Strings_Id.h
pp_Property.cpp
xap_Dialog_Id.h
ap_EditMethods.cpp
ap_MenuActions.cpp
ap_Menu_Id.h
ap_Menu_LabelSet_en-US.h
ap_Menu_Layouts_MainMenu.h
ap_UnixDialog_All.h
af/util/xp/Makefile
af/util/Makefile

Reply via email to