* * *

Author Topic: [SOVED] Error: Identifier not found "SetDefaultLang"  (Read 1821 times)

patyi

  • Full Member
  • ***
  • Posts: 130
[SOVED] Error: Identifier not found "SetDefaultLang"
« on: January 13, 2015, 08:45:46 am »
Hi all !

Yesterday I'm updated Lazarus trunk (v1.4) and Fpc trunk (v3.1.1) and have error on my previously worked project :

DataMod.pas(1465,3) Error: Identifier not found "SetDefaultLang(lan)" ! I have DefaultTranslator unit in uses section !

Is something changed in this unit ? or SetDefaultLang function is moved to other unit ?  :o
(XUbuntu 14.04 LTS i386, Gtk2)

ps. tested also with CodeTypon v5.2, the same error is present ...
« Last Edit: January 13, 2015, 09:07:45 am by patyi »

patyi

  • Full Member
  • ***
  • Posts: 130
Re: Error: Identifier not found "SetDefaultLang"
« Reply #1 on: January 13, 2015, 09:07:15 am »
Hi !

I found a solution and ansvering for myself :
Instead of unit DefoultTranslator have to use unit LCLTranslator,
and function SetDefoultLang have to call in form SetDefaultLang(lang, path, True);  :D



 

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus