localize content and remove json calls to bypass server requirement