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:

Problems and questions on generating .po files 5 years 2 months ago #13526

  • Roman
  • Roman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 93
  • Thank you received: 0
Hello!
I can not understand how CT IDE 6.3 (or fpc) create .po files? There are many forms and modules in my project. I set the option "update .po while saving frm" in the project properties - the lines from some forms do not fall into the .po file when they are saved. I set the forced update option at the next compilation - sometimes updates, sometimes not. Even with "clean and build." I do not understand the patterns - when and under what conditions is the .po file updated?

The second question: how to get in .po resourcestings from third-party components? Many components come with ready .po files - how to properly attach them to my project?

The third question is: why do not strings from the properties of components of type TStrings fall into .po? For example, TTabControl.Tabs

Finally, the last question: SetDefaultLag correctly updates the application interface (all forms and resource strings) in the direction of EN ---> RU, but the reverse localization change does not work - the interface remains in RU localization, although the resourcestring is updated to EN localization. Why and what should be done so that everything works in all directions of localization change?

Sorry for my "runglish" - I use GoogleTranslator :blush:

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

Last edit: by Roman.

Problems and questions on generating .po files 5 years 2 months ago #13527

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4523
  • Thank you received: 1108
Please Sir
try to upgrade CT to CT 6.8
CT 6.8 has a lot of changes from CT 6.3
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Problems and questions on generating .po files 5 years 2 months ago #13530

  • Roman
  • Roman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 93
  • Thank you received: 0
Thank you, Sternas Stefanos!
After installation newest CT version localization in my project correctly switched in both directions.

But I have some questions...

How to use Po Builder? How to add .po-files from thrid-party components to my project?

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

Problems and questions on generating .po files 5 years 2 months ago #13531

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4523
  • Thank you received: 1108
You can use .po-files from third-party components
as is in your project

Just copy .po-files from third-party components to
your project .po-files folder

I think this will work.
PilotLogic Architect and Core Programmer

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

Problems and questions on generating .po files 5 years 2 months ago #13540

  • Roman
  • Roman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 93
  • Thank you received: 0
Unfortunately, this does not work.
Simply putting the .po files in the folder with the .po files that CT generates during compilation is not enough. If the contents of the third-party .po file are added to my (main) .po file, then everything works until the project is recompiled again, after which the added lines from the main .po file disappear.
I think that the utility "Po Builder" entering CT should solve my problem. But I do not understand how to use it. I can not add anything to the lists of this utility, all buttons are disabled.

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

Last edit: by Roman.

Problems and questions on generating .po files 5 years 1 month ago #13646

  • Roman
  • Roman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 93
  • Thank you received: 0
Really does nobody make multilingual apps? Really no one had a similar problem?

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

  • Page:
  • 1