File tree Expand file tree Collapse file tree
Document-Processing/PDF/PDF-Viewer/react/Localization Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22layout : post
33title : Localization in React PDF Viewer | Syncfusion
4- description : Learn about the default language culture and localization in Syncfusion React PDF Viewer component.
4+ description : Learn here all about the default language culture and localization in Syncfusion React PDF Viewer component.
55platform : document-processing
66control : PDF Viewer
77documentation : ug
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ Use the React PDF Viewer’s [locale](https://ej2.syncfusion.com/react/documenta
2222- ` @syncfusion/ej2-react-pdfviewer ` installed in a React app.
2323- (Optional) A list of keys you want to override.
2424
25- ## Quick start (set ` de ` – German)
25+ ## Quick start (set German)
26261 . ** Load translations** with ` L10n.load ` at app start (only include the keys you want to change).
27- 2 . ** Set the culture** by passing ` locale="de" ` to ` <PdfViewerComponent/> ` .
27+ 2 . ** Set the culture** by passing ` locale ` value to ` <PdfViewerComponent/> ` .
28283 . ** Render the viewer** as usual. Missing keys will automatically fall back to ` en-US ` .
2929
3030{% tabs %}
You can’t perform that action at this time.
0 commit comments