asdlei00 / crashrpt

Automatically exported from code.google.com/p/crashrpt
0 stars 0 forks source link

Language file version #177

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Since language file must have the same version of library (and CrashSender EXE) 
my suggestion is to add version code also to language file to allow program 
with different lib version to co-exist side by side in the same directory

Original issue reported on code.google.com by zacca...@zaksoft.com on 10 Nov 2012 at 9:46

GoogleCodeExporter commented 9 years ago
Actually, there is already the version field in the language file, for example:

CrashRptVersion=1400

Please give me more information on your proposal.

Original comment by zexspect...@gmail.com on 10 Nov 2012 at 10:07

GoogleCodeExporter commented 9 years ago
Yes, and this is the problem...

Suppose someone is using version 1.31 and 1.40 of crashrpt in two different 
programs in the same dir. 
There is dbghelp.dll, crashsender1301.exe and crashsender1400.exe, but I need 
..\1031\crashrpt_lang.ini and ..\1400\crashrpt_lang.ini to keep both.
Since crashsender.exe has version in the name I suggest the same approach also 
for language, so crashrpt_lang_1400.ini (and crashrpt_lang_1400_IT.ini and so 
on)

Original comment by zacca...@zaksoft.com on 10 Nov 2012 at 10:18

GoogleCodeExporter commented 9 years ago
You can do this by renaming language files as you wish and using the 
CR_INSTALL_INFO::pszLangFilePath structure field to specify the path to correct 
lang file. For more information, see 
http://crashrpt.sourceforge.net/docs/html/internationalization_support.html

I understand what changes you request, but I prefer not to implement them.

Original comment by zexspect...@gmail.com on 10 Nov 2012 at 10:27

GoogleCodeExporter commented 9 years ago
Is what I'm already doing at present, it seems to me more consistent to have 
(like crashsender) all files dependent to version with same naming convention. 
But I understand your point and appreciate your support and efforts.

Original comment by zacca...@zaksoft.com on 10 Nov 2012 at 10:32