}
@Override
public VelocityContext createContext(final String languageCode,
PageEntity page) {
LanguageEntity language = getDao().getLanguageDao().getByCode(
languageCode);
VelocityContext context = new VelocityContext();
ConfigEntity configEntity = getBusiness().getConfigBusiness().getConfig();
addVelocityTools(context);
context.put("language", language);
context.put("locale", new Locale(language.getCode()));
context.put("config", configEntity);
context.put("service", getVelocityService());
context.put("plugin", getVelocityPluginService().getPlugins());
context.put("messages", getBusiness().getMessageBusiness().getBundle(
languageCode));