Resource strings are stored as resources and linked into the executable or library so that they can be modified without recompiling the program. For more information, see Internationalization and localization and the topics that follow it.
Resource strings are declared like other true constants, except that the word const is replaced by 
resourcestring. The expression to the right of the = symbol must be a constant expression and must return a string value. For example,resourcestring  CreateError = 'Cannot create file %s';        {  for explanations of format specifiers, }
  OpenError = 'Cannot open file %s';            { see 'Format strings' in the online Help }
  LineTooLong = 'Line too long';
  ProductName = 'Borland Rocks\000\000';
  SomeResourceString = SomeTrueConstant;The compiler automatically resolves naming conflicts among resource strings in different libraries.

解决方案 »

  1.   

    拜托,我怎么就没有想到呢,原来在D的帮助中就有!<口吐白沫,晕倒!>
      

  2.   

    試過了﹐真的是與一般的const沒有兩樣﹐編譯出來的程序還是改不了語言﹐其中的資源文件.res還是沒有編譯(應該變為.rc才對),怎么辦﹖怎么辦﹖
      

  3.   

    在Delphi的Demos\Richedit下有一个例子
      

  4.   

    打开Delphi 5,打开你的Delphi项目,
    然后打开菜单“Project -> Language -> Add”,
    剩下的我想你自己会做了吧?:)
      

  5.   

    有沒有人會把字串資源或對話框資源寫成DLL的編程方法﹖
      

  6.   

    你可以参考DELPHI资源的使用。
    不要告诉我你不知道怎么编译资源吧。
    只要你能为每一个语言编成一个资源,然后在程序中动态调用,就OK拉
      

  7.   

    你說對了﹐我不但不知道怎么編譯資源﹐還不知道怎么在Delphi中調用﹗
    請你多費心思了﹗Thanks!
      

  8.   

    到這裡看一下吧!
    http://www.borlandsoftware.com.cn/devsupport/delphi/multilang.shtml
    記得給分啊!:)