|
|||
|
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Relative/absolute paths in rc files
|
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
||||||||||||||||
| Relative/absolute paths in rc files - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support | |||||||||||||||||
| Author | Post | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||
|
IanMcCarthy Member
|
Translating existing VC++ 6.0 project using rc files, with Sisulizer 1.5.15. Folder layout is: Application\Application.rc (English resource file) Application\res\Logo.bmp (English bitmap) Application\de\AppGerman.rc (German resource file) Application\de\res\Logo.bmp (German bitmap) So I created a new Sisulizer project based upon Application.rc, original language English and added a new column for German, OK. I then imported AppGerman.rc to load the existing translations, OK. For one bitmap entry I browsed to the de folder and loaded the German bitmap as the translation for the original English one, OK. For another bitmap entry, the original English one is fine, so I don't add a translation for it, OK. If I build the project with 'Build relative path to files' un-checked then ALL the bitmap paths are "res\BitmapName.bmp". If I build with 'Build relative path to files' checked ALL the bitmap paths are "..\res\BitmapName.bmp". Firstly, shouldn't the translated bitmap have a different path to the others, in both cases? "de\res\Logo.bmp" when others are "res\BitmapName.bmp" "res\Logo.bmp" when others are "..\res\BitmapName.bmp" Secondly, when 'Build relative path to files' is checked, the "..\res" bit only has one '\' character when it requires two '\'. The resultant rc file fails to build in VC++ until you add in the second '\'. Hope this is not me being thick, like it was last time... Many thanks Ian
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Ilkka.Siikanen Administrator
|
You was right. 1. '\' in paths I changed all '\' characters to '\' 2. Translated images I changed them to have different paths These will be in the next build (1.5.17) regards Ilkka
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
IanMcCarthy Member
|
Fantastic service, much obliged... Ian
|
||||||||||||||||
| |||||||||||||||||
| Current time is 07:47 am | |
| .NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Relative/absolute paths in rc files | |
Sisulizer software localization tool - Three simple steps to localize