Bug 45210 - Storybaord strings are not automatically populated in Xamarin.iOS app created on Visual Studio.
Summary: Storybaord strings are not automatically populated in Xamarin.iOS app created...
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 10.0 (iOS10)
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2016-10-07 22:24 UTC by Rupa Paramasivan
Modified: 2017-07-25 14:16 UTC (History)
3 users (show)

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

Smaple iOS app with storyboard string (10.21 KB, application/x-zip-compressed)
2016-10-07 22:24 UTC, Rupa Paramasivan

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:

Description Rupa Paramasivan 2016-10-07 22:24:19 UTC
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.
Comment 1 Manuel de la Peña [MSFT] 2016-10-13 09:03:03 UTC

Is this issue happening in Xamarin Studio or just in Visual Studio?
Comment 2 Rupa Paramasivan 2016-10-14 16:20:15 UTC
Yes, I was able to reproduce this in the latest Xamarin studio as well (version 6.1.1).
Comment 3 John Miller [MSFT] 2017-07-25 14:16:22 UTC
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.