Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Localization Problem on iOS #943

Open
chaoyebugao opened this issue Mar 9, 2022 · 0 comments
Open

Localization Problem on iOS #943

chaoyebugao opened this issue Mar 9, 2022 · 0 comments

Comments

@chaoyebugao
Copy link

chaoyebugao commented Mar 9, 2022

Bug Information

Version Number of Plugin:5.1.1-beta
Device Tested On:iPhone X(iOS 12)
Simulator Tested On: iPhone 8 (iOS 15)
Version of VS: VS for mac 2019
Version of Xamarin: 5.0.0.2337
Versions of other things you are using: Xamarin.Essentials 1.7.1

Steps to reproduce the Behavior

  1. CrossMedia.Current.PickPhotosAsync
  2. set MaximumImagesCount with 1 in MultiPickerOptions
  3. set PhotoSelectTitle = "Xxxx" in MultiPickerOptions
  4. Select an album, show photo pick Page as below

Expected Behavior

PhotoSelectTitle should be Xxxx

Actual Behavior

PhotoSelectTitle is Pick Photo

Code snippet

var pickTask = CrossMedia.Current.PickPhotosAsync(
          new PickMediaOptions()
          {
              CompressionQuality = opts.CompressionQuality,
              MaxWidthHeight = opts.MaxWidthHeight,
              PhotoSize = opts.MaxWidthHeight.HasValue ? PhotoSize.MaxWidthHeight : PhotoSize.Full,
          },
          new MultiPickerOptions()
          {
              MaximumImagesCount = opts.MaximumImagesCount,
              AlbumSelectTitle = I18n.MediaPlugin_AlbumSelect,
              BackButtonTitle = I18n.Trade_Exchange_Back,
              DoneButtonTitle = I18n.Com_Done,
              LoadingTitle = I18n.Com_Loading,
              PhotoSelectTitle = I18n.MediaPlugin_PhotoSelect,
          });

Screenshots

647d0c47-003d-4d71-b6ef-7754ec46e385

Other Problem:

There is no Option localization for the alert Only 1 photo please, please consider make a option.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant