On Tuesday 07 August 2012 10:40:58 Алексей Логинов wrote:
> 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.

loadlangunit() should be called before loading the forms, so place the lang 
code at program start.
"
var
  MSELang,MSEFallbacklang:string;

begin
 Gettext.GetLanguageIDs(MSELang,MSEFallbackLang);
 If FileExists 
(LeftStr(Paramstr(0),Length(ParamStr(0))-6)+'libi18n_'+MSEFallbackLang+'.so') 
then 
                                  loadlangunit('i18n_'+MSEFallbackLang);
"
or
"
begin
 Gettext.GetLanguageIDs(MSELang,MSEFallbackLang);
 loadlangunit('i18n_'+MSEFallbackLang,true);
"
(git master branch).

I checked the "WithProblem/ru/mseide_ru.csv", works for me. What are the steps 
to reproduce the problem?

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

Reply via email to