Skip to content

Pdfviewer Bookmarks not translating correctly  #1143

@ShehabSN

Description

@ShehabSN

I have a pdf that has bookmarks in Arabic. I have used the localization package as can be seen in the code and that is working for the page number navigator but the bookmarks are not being translated correctly at all.

  runApp(const MaterialApp(
    title: 'Syncfusion PDF Viewer Demo',
    home: HomePage(),
    localizationsDelegates: [
      GlobalMaterialLocalizations.delegate,
      GlobalWidgetsLocalizations.delegate,
      GlobalCupertinoLocalizations.delegate,
      SfGlobalLocalizations.delegate
    ],
    supportedLocales: [
      Locale('ar'),
    ],
    locale: Locale('ar'),
  ));

How it looks in PDF
correctbookmarks

How it looks in app
incorrectbookmarks

None of the sub sections/bookmarks are translated correctly either. I've attached the pdf for reference. Any ideas how to resolve this or would I need to build a custom bookmark viewer? Thanks!

Royce.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    pdf viewerPDF viewer component

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions