Re: missing locale resources

2006-11-03 Thread Kirill K. Smirnov
> If you are adding multiple strings then the easiest is to start a new > block. Otherwise if it's a single string, or it logically belongs to > an existing block, then yes you have to add it everywhere if you want > a fallback. Thanks for solution!

Re: Missing locale resources

2006-11-03 Thread Alexandre Julliard
"Kirill K. Smirnov" <[EMAIL PROTECTED]> writes: > So, what is the right way to add new string? > 1) Add to every resource Bg,Cs,Da etc... untranslated to be sure that string > will be loaded. > 2) Add to En and Ru only. Then check return value of LoadString and if zero > do > LoadStringEx(...L

Re: Missing locale resources

2006-11-03 Thread Dmitry Timoshkov
"Kirill K. Smirnov" <[EMAIL PROTECTED]> wrote: Strings are stored by blocks of 16, so if others strings in the same block are defined for Russian the resource loader won't fall back to English even if individual strings are missing. So, what is the right way to add new string? 1) Add to every

Re: Missing locale resources

2006-11-03 Thread Kirill K. Smirnov
> Strings are stored by blocks of 16, so if others strings in the same > block are defined for Russian the resource loader won't fall back to > English even if individual strings are missing. So, what is the right way to add new string? 1) Add to every resource Bg,Cs,Da etc... untranslated to be

Re: Missing locale resources

2006-11-03 Thread Alexandre Julliard
"Kirill K. Smirnov" <[EMAIL PROTECTED]> writes: > So, the question: is this behaviour of resource loader correct? > Should it fallback to LANG_ENGLISH SUBLANG_DEFAULT if localized string not > found and LANG_NEUTRAL/SUBLANG_NEUTRAL is requested (as LoadString does)? Strings are stored by blocks

Missing locale resources

2006-11-03 Thread Kirill K. Smirnov
Hi! I want to add a new string resource to winhelp program. I've modified only English-localized .rc file. My locale is Ru. When I trying to load this string, LoadString() function returns 0 and GetLastError() returns 0 too. I expect English string to be loaded, but no string is loaded. When I