Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

Code generation-difference between CT and Lazarus? 10 years 1 month ago #6100

  • Javor
  • Javor's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • M.Sc in Computer Science, (ex-)freelancer
  • Posts: 72
  • Thank you received: 8
Hello guys,

I have the following issue: my application written with CT needs to be localized and will most probably work on Linux (currently I'm developing it under Windows XP), so I downloaded Precision Language Suite as it can switch languages on the fly, whereas i18 can do it on program run only. So far, so good. I've translated my app (it uses cyrillic and latin letters) and when I compile it with CT, the cyrillic letters appear as question marks, i.e. '???? ??????' on every control and the form caption and latin letters appear normal. When I compile the project with Lazarus, everything is fine and the cyrillic letters appear normal.
I remember a long time ago I had trouble with CT editor, so that when I switch language to cyr, the whole IDE froze and crashed. I was advised to turn on "Extend support of advanced text services to all programs" and the editor was after that OK. I don't know if it's somehow related to my trouble, but I've no clue what else I can change in CT in order to have my application show correct cyr letters.

Thanks everybody in advance.

Kind Regards,
Markov

Please Log in or Create an account to join the conversation.

Code generation-difference between CT and Lazarus? 10 years 1 month ago #6101

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Please Sir can you give us more info
Lazarus ver ?
CT ver ?
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Code generation-difference between CT and Lazarus? 10 years 1 month ago #6102

  • Javor
  • Javor's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • M.Sc in Computer Science, (ex-)freelancer
  • Posts: 72
  • Thank you received: 8
Sure thing, here's the full spec for my software installed:
OS: Windows XP Pro
CT 5.0 Big IDE, FPC 2.7.1 for i386
Lazarus 1.0.10 with FPC 2.6.2
Precision Language Suite ver 2.5 (currently last version available for download)

Hope my problem can be resolved or else I have to write my own translator and that will take time which I currently don't have atm...

Please Log in or Create an account to join the conversation.

Code generation-difference between CT and Lazarus? 10 years 1 month ago #6103

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
the Lazarus 1.0.10 released 12 June 2013, I think it's to old...

Commercial "Precision Language Suite" support CodeTyphon ?
Please ask precision software for this
It's not our "task"...
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Code generation-difference between CT and Lazarus? 10 years 1 month ago #6104

  • Javor
  • Javor's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • M.Sc in Computer Science, (ex-)freelancer
  • Posts: 72
  • Thank you received: 8
Lazarus and the fact that it's being old has nothing to do with the components. A small quote from PLS site says:
"Precision Language Suite is a set of localization tools for Delphi and Lazarus development environments. It allows you to create multilingual applications in any available framework (VCL, FireMonkey, LCL) and for all supported platforms (Win32, Win64, OSX, ...). "
LCL is a part of both Lazarus and CT. The fact that Lazarus compiled application is localized w/o problems and CT shows ????? ?? instead of actual captions looks like a global encoding in compiled application. Problem is I have no idea where and what to change. It's an interesting problem that I would like to solve.

Please Log in or Create an account to join the conversation.

Code generation-difference between CT and Lazarus? 10 years 1 month ago #6110

  • Vadim
  • Vadim's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
may be problme in UTF8 for CT and ANSI string for old Lazarus

Please Log in or Create an account to join the conversation.

Code generation-difference between CT and Lazarus? 10 years 1 month ago #6123

  • Javor
  • Javor's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • M.Sc in Computer Science, (ex-)freelancer
  • Posts: 72
  • Thank you received: 8
Well, I'll dig deeper when I have some more time. So far I'll stick with i18. The only reason to try PLS was that the documentation regarding i18 seems to be outdated and was said that it cannot switch languages on the fly. My tests showed the opposite and I've tested localization under Windows XP, 7 and 8 and Linux - Ubuntu and Mint and everything worked just fine - no problems with cyrillic and latin letters.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1