The platform serves text and design specific to each website while keeping all the resources in the same database. This is accomplished by using the site identifier which is 3 symbols long. The site identifier tells the platform: this set of resources should be used for this website and for this language.
There are 4 types of resources which take advantage of the site identifier (also called site-able resources):
Text, stored in a database. Provides text which one can see on a website.
Configuration entry, stored in a database. Provides configuration for websites and the platform.
Layout template, bundled into the platform deployable WAR package. Provides websites page layout.
The platform provides multilingual support for text, graphics and arbitrary files in rather a starnge manner by overwriting resources. The platform loads resources based on the site identifier provided by user. There is the link between language locales and root site identifiers stored in the settings which is solely used to display the website in user's native language. Thus the platform is unaware of resources' language it serves, it simply fetches resources by the site identifier and it is developer's job to properly link identifiers to resources.