A method and system for preparing a program for customization. The customization
system "compiles" a computer program by identifying the content of each statement
of the computer program that may be customized. The customization system identifies
the type associated with each statement. Based on the type of statement, the customization
system identifies content of the statement that can be customized and stores the
identified content in a custom content bundle. The customization system then replaces
the identified content in the statement with an include content command that includes
the content identifier of the corresponding content. When the computer program
is executed, the include content command of the statement causes the retrieving
of a content associated with its content identifier from a custom content bundle.