OK, libi18n_ru.so function loadlangunit found in /lib, /usr/lib, etc. In future necessary to write copy of function loadlangunit without: e.message = 'Can not load langunit "'+aname+'":'+lineend+e.message; because for application mseide it's not problem when there is no libi18n_[lang].so. If there is no libi18n_[lang].so, then interface of application mseide will be by default - English.
2012/8/7 Алексей Логинов <[email protected]> > It's good idea to put all strings in *.mfm file. > I sent to your email my translation project and you can see: I translated > ./lib/common/dialogs/msefiledialog.mfm, but no effect. > "settingsfo,syntaxdefdir,controller.captionopen",vaString,F,,Project > template directory, - it's not "Project template directory", it's > syntaxdefdir. > "settingsfo,mselibdir,controller.captionopen",vaString,F,,msegui root > directory, - it's not "msegui root directory", it's mselibdir. > settingsfo,fpclibdir,controller.captionopen",vaString,F,,FPC root > directory, - it's not "FPC root directory", it's fpclibdir ("FPC root > library directory"), etc. > > > > 2012/8/7 Martin Schreiber <[email protected]> > >> On Monday 06 August 2012 21:51:22 Алексей Логинов wrote: >> > I can not understand why function loadlangunit finds library >> translation.so >> > in current directory. How can I translate dialogs for mseide? >> > It's needed additional parameters for function loadlangunit - path, >> where >> > to find library translation.so >> > >> Use the full path to the library as "name" parameter. >> The MSEgui built in dialogs use the "mseconsts" unit, switch the language >> by >> adding the necessary language units (mseconsts_ru) to uses of the program >> file, call >> " >> setlangconsts('ru'); >> " >> at program start. >> >> Martin >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> mseide-msegui-talk mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk >> > >
<<attachment: aaa34.jpeg>>
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

