Added PDF Generation and localization