Recent

Author Topic: LCLTranslator does not fill stringgrid titles  (Read 2123 times)

Windsurfer

  • Sr. Member
  • ****
  • Posts: 368
    • Windsurfer
LCLTranslator does not fill stringgrid titles
« on: January 11, 2017, 10:39:26 am »
I am using Laz trunk 53922M dated 2017/01/11 with FPC 3.0.0, and I am running Linux Mint 18.1 Cinnamon on an i7 PC.

I recently broke a large multi language project when building it with laz trunk and fpc 3.1.1. I can fix it, but before coding manually would appreciate it if someone could look at the attached very simple project.

I think I read somewhere that Laz trunk now populated stringgrid titles automatically, if used with fpc 3.0.0. However. It does not work in the attached published demo project. The lrj file contains the data and the po files are populated.

Am I missing something?

Windsurfer

  • Sr. Member
  • ****
  • Posts: 368
    • Windsurfer
Re: LCLTranslator does not fill stringgrid titles
« Reply #1 on: January 21, 2017, 07:56:19 pm »
After trying a few versions of fpc and Lazarus, I found that fpc 3.0.0 and Laz 1.6.2 work the best for translations.

You need to manually change the titles after calling

Code: Pascal  [Select][+][-]
  1. SetDefaultLang(strLang, 'languages', True);

 

TinyPortal © 2005-2018