Michael Stefaniuc wrote:
On 06/19/2010 04:09 PM, Frédéric Delanoy wrote:
Sometimes, when a developer adds a string to En resource file, (s)he adds it as well to all other non-En resource files.
Isn't that unnecessary?
http://wiki.winehq.org/SublangNeutral says the search order is
- LANG_NEUTRAL, SUBLANG_NEUTRAL
- LANG_FRENCH, SUBLANG_FRENCH_BELGIAN
- LANG_FRENCH, SUBLANG_NEUTRAL
- LANG_ENGLISH, SUBLANG_ENGLISH_US
Would a patch removing En resources in non En rc files be accepted? This would allow for more accurate translation stats.
Or doesn't a fallback mechanism always apply?
The fallback mechanism works only at resource granularity not a string level. A resource is is a menu, dialog, 16 STRINGTABLE strings, etc. Thus to not break a resource one has to copy the English string over. The move to PO files will fix this.
Another good reason to drop .rc files and go with the po flow...
James McKenzie