Recent

Author Topic: Problems creating a multi-language application on Sierra  (Read 4049 times)

xaver13

  • Full Member
  • ***
  • Posts: 111
Problems creating a multi-language application on Sierra
« on: January 25, 2017, 10:57:03 am »
The multilingual features do not  seem to be working on Sierra  :(

Please can anybody test this nice sample made by ChrisF app?
http://forum.lazarus.freepascal.org/index.php?action=dlattach;topic=27310.0;attach=10795


As a newbie I can not be sure that I made everything o.k.
I only changed
  uses  DefaultTranslator
to
 uses LCLTranslator
 (and sample is working on Windows).

The LCLTranslator units  was quite different in Windows (sample is working on Windows) and Mac versions, but if  I used LCLTranslator unit from my Windows installation(svn 53971) it helped not.
--
Jiri Cvrk

Thaddy

  • Hero Member
  • *****
  • Posts: 14197
  • Probably until I exterminate Putin.
Re: Problems creating a multi-language application on Sierra
« Reply #1 on: January 25, 2017, 12:17:38 pm »
I just tried. It works. (On snow leopard)
Can you attach a minimal example?
Specialize a type, not a var.

xaver13

  • Full Member
  • ***
  • Posts: 111
Re: Problems creating a multi-language application on Sierra
« Reply #2 on: January 25, 2017, 01:43:56 pm »
Thank you very much Thaddy. I don't understand, minimal example is that small application ChrisF wrote and link is in my first post.
« Last Edit: January 25, 2017, 01:46:37 pm by xaver13 »
--
Jiri Cvrk

balazsszekely

  • Guest
Re: Problems creating a multi-language application on Sierra
« Reply #3 on: January 25, 2017, 02:12:06 pm »
@xaver13
I did debug the project under OSX and it's working fine, however you must copy the binary and the language directory inside the bundle.

xaver13

  • Full Member
  • ***
  • Posts: 111
Re: Problems creating a multi-language application on Sierra
« Reply #4 on: January 25, 2017, 02:45:21 pm »
you must copy the binary and the language directory inside the bundle.
Thank you GetMem, this could be my problem, what does it mean, I must copy language directory into app? I am sorry for my question, but I never did such things ;)
--
Jiri Cvrk

balazsszekely

  • Guest
Re: Problems creating a multi-language application on Sierra
« Reply #5 on: January 25, 2017, 03:03:07 pm »
Take a look at this:
https://youtu.be/ysJ4dJQayyk

xaver13

  • Full Member
  • ***
  • Posts: 111
Re: Problems creating a multi-language application on Sierra
« Reply #6 on: January 25, 2017, 03:10:21 pm »
OMG so simple, I feel like an Idiot  :D

I am looking forward for another  secrets of Mac OS apps.

Thank you all.
--
Jiri Cvrk

 

TinyPortal © 2005-2018