Pastey lang.en example for EuGTK
- Posted by irv Dec 03, 2020
------------------------------- -- lang.en english version ------------------------------- MainWindow.title=Test program 1 MainWindow.HelpCaption=Help MainWindow.HelpTitle=About this program MainWindow.HelpText=Default is english, +for other languages, run eui multi es, ru, gk ... Image1.from file=~/demos/resources/flags/flags-united_states.png Button1.tooltip text=Click here to exit Button1.label=_Exit Button1.image=gtk-quit Button1.always show image = 1 Button2.tooltip text=Click here for help Button2.label=_About Button2.image=gtk-about Button2.always show image = 1 Button3.tooltip text=Click here to change the color Button3.label=_Background Button3.image=style Button3.always show image = 1 MainWindow.size={437,673} MainWindow.position={485,27}
1. Comment by irv Dec 03, 2020
All you (or your user) needs to do is change the text following the = and save it as lang.xx where xx is the language code. You can bind, shroud, or compile your program so the user can't mess it up while changing the labels, images, and button captions.