开发者

vs2008 resource editor changes rc file language

I am doing some improvements to an application in vs2008 in c++.

When i try 开发者_JAVA技巧to edit resources (for example add an entry in the string table), the vs2008 editor changes the rc file language from LANG_ENGLISH to LANG_NEUTRAL and a non english text is replaced with question marks.

If i edit the rc file externally (in notepad), and then load it to the vs2008 it works fine.

can anybody help me solve this? thanks

Shimon


When you expand the String Table node in the Resource View window, you should see the string tables for each individual language. You add a string to each table by double-clicking them in turn. The language is automatically set from the string table language.

If you don't see this then the .rc wasn't created properly originally. Which is common when somebody starts editing it with a text editor. The resource editor has trouble with .rc files that were created by hand. You're kinda doomed to keep maintaining it with a text editor. Which isn't particularly a real problem, the editor isn't exactly user-friendly when adding resource strings in several languages. Any localization expert I've ever seen doesn't bother with the resource editor.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜