Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 17943 [details]
Smaple iOS app with storyboard string
When creating a Xamarin.iOS app on Visual Studio, if we add localizable strings to the Storyboard strings file using the "LocalizationID" supplied by VS as string keys, they are not automatically populated on the UI when app is launched. Programmatically accessing the strings work. Please find attached sample that demonstrates the behavior.
Is this issue happening in Xamarin Studio or just in Visual Studio?
Yes, I was able to reproduce this in the latest Xamarin studio as well (version 6.1.1).
Using a storyboard with Size Classes may result in the translations not appearing. Apple's documentation says: Localization A storyboard or XIB will not localize correctly if all of the following three conditions are true: The storyboard or XIB uses size classes. The base localization and the build target are set to Universal. The build targets iOS 7.0. The fix is to duplicate your storyboard strings file into two identical files: MainStoryboard~iphone.strings and MainStoryboard~ipad.strings:
Once I followed the above it worked as expected.