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.
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.
然后打开菜单“Project -> Language -> Add”,
剩下的我想你自己会做了吧?:)
不要告诉我你不知道怎么编译资源吧。
只要你能为每一个语言编成一个资源,然后在程序中动态调用,就OK拉
請你多費心思了﹗Thanks!
http://www.borlandsoftware.com.cn/devsupport/delphi/multilang.shtml
記得給分啊!:)