Build also PDF in localized builds. #12954

Change-Id: I3290a9269dfe10ba0d23ac64f596d5e473e36e83