Translate LCL dialogs? lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- Shebuka · 2012-04-26 15:42 Have you managed to translate LCL dialogs under Mac OS X? I'v tried the example from the wiki but it doesn't working for me. MessageDlg is still with English Cancel, Ok, Yes What i'm doing wrong? p.s. my PODirectory := '/Developer/lazarus/lcl/languages/'; ---------------------------------------------------------------------- jwdietrich · 2012-04-27 07:26 Resource Strings are a Windows-native concept. They are not supported by Mac OS X. You have to use other techniques to localize your applications that are intended to run on Mac OS X. ---------------------------------------------------------------------- marcov · 2012-04-27 08:01 Quote from: jwdietrich on April 27, 2012, 09:26:05 amResource Strings are a Windows-native concept. They are not supported by Mac OS X. That's correct. But aren't they supported by FPC package fcl-res ? Since FPC 2.4.0 should support resources on all platforms (queue Lazarus that has its forms in such resources instead of *.lrs nowadays) That would limit the number of needed OS X specific tricks to a few system dialogs. ---------------------------------------------------------------------- jwdietrich · 2012-04-27 08:26 OK, that sounds good. Where can I find documentation on this package? There doesn't seem to be an entry at the wiki. ---------------------------------------------------------------------- Shebuka · 2012-04-27 08:49 Quote from: jwdietrich on April 27, 2012, 09:26:05 amResource Strings are a Windows-native concept. They are not supported by Mac OS X. You have to use other techniques to localize your applications that are intended to run on Mac OS X. Ok, what i need to do to localize MessageBoxes ? ---------------------------------------------------------------------- marcov · 2012-04-27 09:43 Quote from: jwdietrich on April 27, 2012, 10:26:05 amOK, that sounds good. Where can I find documentation on this package? There doesn't seem to be an entry at the wiki. Sourcecode and the fpdoc XML files in the fcl-res tree. (which are for some reason not included in the main docs (see Mantis #17964))