How to localize RCDATA resources using the translation editor

I am inserting some images and texts as RCDATA resources into my executable file. My project includes a special app.rc file for this purpose:

 Text1 RCDATA "text1.rtf" Image1 RCDATA "Images\image1.png" 

Later, I access this data using TResourceStream .

I want this app.rc file app.rc be localized and included in the resource dll. I cannot find a way to include different files as RCDATA resources for different languages. The main executable file should include one set of files ( text1.rtf , Images\image1.png ) as resources, the resource DLL should include another version of the files text1.rtf , Images\image1.png .

+5
source share

Source: https://habr.com/ru/post/1270377/


All Articles