Open Anixx opened 4 years ago
See discussion in #77. Also, all of the original language files that I could recover are in src\origrc.
If you can read Russian, you may check is this translation ok: https://github.com/microsoft/winfile/blob/master/src/origrc/winfile.ru-RU.rc https://github.com/microsoft/winfile/blob/master/src/origrc/winfile.en-US.rc
and we may add Russian into the release in the future, if you want to help... (Since we are not native Russian speakers...)
How can I check it if it is displayed with garbage symbols?
GitHub/Browser has probably assumed UTF which code_page(1251)
isn't, try changing browser encoding/opening locally
See discussion in #77. Also, all of the original language files that I could recover are in src\origrc.
Like Polish, the original rc files of other languages also need to be converted to UTF-8... (But it seems that only ru-RU is totally unreadable? Even zh-CN, ja-JP, ko-KR are fine...)
How can I check it if it is displayed with garbage symbols?
@Anixx Repaired with PR #250 and merged, now it is readable. But I don't know how to "convert"/"adapt" a single .rc file into res_ru-RU.rc suggest_ru-RU.db winfile_ru-RU.dlg
automatically. May @craigwi have any good idea?
In the current sources res_en-US.rc includes winfile_en-US.dlg. I don't know why this was separated. res_ru-RU.rc appears to include content for both and so it might be possible to just add that one file and update the #include and other stuff. suggest_ru-RU.db would have to be created from scratch (e.g., by copying another language).
In the current sources res_en-US.rc includes winfile_en-US.dlg. I don't know why this was separated. res_ru-RU.rc appears to include content for both and so it might be possible to just add that one file and update the #include and other stuff. suggest_ru-RU.db would have to be created from scratch (e.g., by copying another language).
I see. I may be able to carry out some tests then. For the latter step we still need some native speakers of Russian to do that though...
In the current sources res_en-US.rc includes winfile_en-US.dlg. I don't know why this was separated.
I looked into this; it was split from the initial 1991 fork. I'm 90% sure this is an artifact of the limitations of the 3.0 Dialog Editor; we didn't have integrated resource editing back then, so the dialog editor only understood dialog resources. It reads the (compiled) .res file and writes the (textual) .dlg file containing only dialogs. If they were in one .rc file, the dialog editor could not have been used.
Since res_rc-RU.rc is extracted from a binary, it didn't preserve its original source structure.
suggest_ru-RU.db would have to be created from scratch (e.g., by copying another language).
For the latter step we still need some native speakers of Russian to do that though...
All the strings are in the .rc, right? 1101-1118 and 1150-1155 are all there, it's just turning these back into macros.
Even though the original Winfile had it