For the complete documentation index, see llms.txt. This page is also available as Markdown.

Localization for Xamarin viewer tools

Localization for Tools library follows each platform's convention.

Xamarin.Android Tools localization

You can put your translation strings.xml into Resources/values-xx directory of your application, i.e. values-fr for French.

See available languages here: Localization on Android.

Xamarin.iOS Tools localization

  1. Navigate into ./Lib/Tools/src/PDFViewCtrlTools/Tools/en.lproj to find the example Localizable.strings file that contains translation information for the Tools source code. Rename this file to PTLocalizable.strings

  2. Create a directory called <language code>.lproj within your project resources directory and place the PTLocalizable.strings file from Step 2 in the directory. For a list of language codes supported by Apple, please refer to the Apple documentation.

  3. Add the translations into the PTLocalizable.strings file.

Localization when compiling Tools from source (deprecated)

  1. Follow the Tools binding guide to create the C# NuGet packages.

Last updated

Was this helpful?