Configuration | Labels

All text / labels in the PDF viewer can be changed in order to help localise the PDF experience. This can be done when configuring Blazor PDF

builder.Services.AddBlazorPdfViewer(opt =>
{
    opt.Labels.RotateClockwise = "Kierrä myötäpäivään";
    opt.Labels.RotateCounterclockwise = "Kierrä vastapäivään";
    opt.Labels.SwitchOrientation = "Vaihda suunta";
    opt.Labels.FirstPage = "Ensimmäinen sivu";
    opt.Labels.LastPage = "Viimeinen sivu";
    opt.Labels.ResetZoom = "Palauta zoomaus";
    opt.Labels.PrintDocument = "Tulosta asiakirja";
    opt.Labels.DownloadDocument = "Lataa asiakirja";
});

The above code will produce the following menu;

An image of the PDF Viewer's menu showing the items in the Finnish language
An unhandled error has occurred. Reload 🗙