Search found 2248 matches

by isiticov
Fri Feb 05, 2021 5:37 pm
Forum: TsiLang Components Suite
Topic: Resource Files (RC) in C++
Replies: 12
Views: 294

Re: Resource Files (RC) in C++

Hello,

Just update to 7.8.5.1 (recently released). This should get fixed this problem.
by isiticov
Thu Feb 04, 2021 5:11 am
Forum: TsiLang Components Suite
Topic: StoreAsUTF8 setting
Replies: 1
Views: 14

Re: StoreAsUTF8 setting

Hello, No, StoreAsUTF8 mostly needed for earlier version of IDEs that don't support Unicode. Setting this to true will encode TsiLang translations data to UTF-8 encoding. This is also useful if you use SIL files as they are plain text files and you have different Unicode (or locale) languages. IDE c...
by isiticov
Wed Feb 03, 2021 5:31 am
Forum: TsiLang Components Suite
Topic: Resource Files (RC) in C++
Replies: 12
Views: 294

Re: Resource Files (RC) in C++

Hello, Thank you for the file. Just REMOVE TsiLang_XXr (TsiLang run-time package) from the "Run-time packages" list for the project and everything will work. At least this worked for us. TsiLang will handle resource strings inside its own executable but when you use TsiLang run-time packages its pac...
by isiticov
Tue Feb 02, 2021 6:45 pm
Forum: TsiLang Components Suite
Topic: Resource Files (RC) in C++
Replies: 12
Views: 294

Re: Resource Files (RC) in C++

Hello,

Could you please create a sample not-localized project with the same functionality as you project and send it to us? Then we will try to localize it and send you a detailed steps, so you could apply them to your real project?
by isiticov
Mon Feb 01, 2021 9:59 am
Forum: TsiLang Components Suite
Topic: TsiLang 7.8.5 "Property Font does not exist" in Delphi 10.4.1
Replies: 5
Views: 54

Re: TsiLang 7.8.5 "Property Font does not exist" in Delphi 10.4.1

Just published 7.8.5.1 build which shall fix this issue. Sorry for this. Please re-download updated version.
by isiticov
Mon Feb 01, 2021 9:38 am
Forum: TsiLang Components Suite
Topic: TsiLang 7.8.5 "Property Font does not exist" in Delphi 10.4.1
Replies: 5
Views: 54

Re: TsiLang 7.8.5 "Property Font does not exist" in Delphi 10.4.1

Preparing the fixed version... Please wait several minutes.
by isiticov
Mon Feb 01, 2021 9:37 am
Forum: TsiLang Components Suite
Topic: Suggestions for improving "TsiLang Components Suite"
Replies: 10
Views: 551

Re: Suggestions for improving "TsiLang Components Suite"

What IDE version do you use? Under 10.4.1 everything is fine:
2021-02-01_13-35-18.png
2021-02-01_13-35-18.png (9.24 KiB) Viewed 42 times
by isiticov
Thu Jan 28, 2021 5:25 am
Forum: TsiLang Components Suite
Topic: Resource Files (RC) in C++
Replies: 12
Views: 294

Re: Resource Files (RC) in C++

Hello,

If you need to use LoadStr() then you will need to follow steps described at https://www.tsilang.com/tsilang-faq/#9.
You need to create LoadStr2() and replace all calls of LoadStr() with LoadStr2(). Then TsiLang will be able to catch and handle in memory translation for resource strings.
by isiticov
Wed Jan 27, 2021 6:10 am
Forum: TsiLang Components Suite
Topic: Ann: TsiLang Components Suite version 7.8.5!
Replies: 0
Views: 13

Ann: TsiLang Components Suite version 7.8.5!

We're glad to announce the release of TsiLang Components Suite version 7.8.5! In the new version we have improved Translations Editor and TsiLang Expert. Updated wizards and TsiLangCombo component. Also SIL Editor and Dictionary Manager were improved as well. Description of the new features and impr...
by isiticov
Mon Jan 11, 2021 5:48 pm
Forum: TsiLang Components Suite
Topic: Resource Files (RC) in C++
Replies: 12
Views: 294

Re: Resource Files (RC) in C++

Hello Roberto, Yes, you can save/export all projects into one single SIB file but you have to be sure that ALL forms in all projects have different names, so every form has a unique name in order to have them all inside one SIB file. And then dispatcher and TsiLang components will be able to disting...
by isiticov
Mon Jan 11, 2021 11:41 am
Forum: TsiLang Components Suite
Topic: Carriage return
Replies: 3
Views: 117

Re: Carriage return

Hello, There is a global variable siLang_Def_UsedInCpp declared in siComp unit. You can assign it to True at application's initialization and C++ special chars like \n, \t and others will be treated accordingly. Additionally, every TsiLang component has a public field named UsedInCpp , you can set i...
by isiticov
Fri Jan 08, 2021 6:09 am
Forum: TsiLang Components Suite
Topic: Resource Files (RC) in C++
Replies: 12
Views: 294

Re: Resource Files (RC) in C++

Hello, If you use only Win32 as a target platform for your project then you can check the following FAQ entry: https://www.tsilang.com/tsilang-faq/#9 (just replace "AnsiString" in the code sample with "string" as this sample code was written in "non-Unicode" times). In case you need to support other...
by isiticov
Thu Jan 07, 2021 4:30 am
Forum: TsiLang Components Suite
Topic: Best practice for multi package projects
Replies: 5
Views: 325

Re: Best practice for multi package projects

Hello Roberto, Yes, in this case you need to export translations to external file, send it to translators and them load it back into DFMs. Saving and loading could be easily performed in TsiLang Expert. No need to send the DFMs. You can check the following links: 1. https://youtu.be/6R54hJ9FX14 - Ts...
by isiticov
Wed Jan 06, 2021 6:17 am
Forum: TsiLang Components Suite
Topic: Best practice for multi package projects
Replies: 5
Views: 325

Re: Best practice for multi package projects

Hello Roberto, 1 - Yes, although they will be updated at run-time once you assign dispatcher property. But in order to work properly it is recommended to configure languages in BPLs too. You can select all forms in BPL in Expert and configure them at the same time in a bulk. 2. "FileName" property o...
by isiticov
Thu Dec 24, 2020 4:23 am
Forum: TsiLang Components Suite
Topic: Best practice for multi package projects
Replies: 5
Views: 325

Re: Best practice for multi package projects

Hello, You can try to use only TsiLangLinked in packages and assign CommonContainer and Dispatcher properties upon package initialization. Something like the following: 1. In a package declare 2 global variables for holding reference to TsiLang and TsiLangDispatcher from the main application. 2. In ...