Bug 35723 - UIBarButtonItem of System.Done is not localized in custom renderer
Summary: UIBarButtonItem of System.Done is not localized in custom renderer
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 1.5.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-11-10 04:46 UTC by Joakim Carselind
Modified: 2016-01-25 19:26 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description Joakim Carselind 2015-11-10 04:46:49 UTC
Created a custom renderer to use for Entry-controls to render a toolbar above soft keyboard

````c#
var toolbar = new UIToolbar(new RectangleF(0.0f, 0.0f, (float)Control.Frame.Size.Width, 44.0f))
            {
                Items = new[]
                {                   
                    new UIBarButtonItem(UIBarButtonSystemItem.Done, delegate { Control.ResignFirstResponder(); })
                }
            };
Control.InputAccessoryView = toolbar;

````

The `UIBarButtonItem` text is not localized but the rest of the application text not residing in renderer works.
Comment 1 Rui Marinho 2016-01-25 19:26:16 UTC
This is done in IOS side, it's not Forms related , you need to add langauges to the info.plist. it’s covered in http://developer.xamarin.com/guides/xamarin-forms/localization/#iOS_Application_Project