Trying to get localized content working on Sharepoint Online.
I followed the steps here: http://msdn.microsoft.com/en-us/library/fp179919.aspx#LocalizingAppWeb to create 2 resource files under Solution -> Features.
The structure of my solution right now is
Solution / Features / MyFeature / Resources.resx
What do I do to get a localized MyString through my code behind file (.cs) ? Tried this:
String s = SPUtility.GetLocalizedString("$Resources:MyLabel;", "MyFeature", 1033)
and it didn't work.
Also what do I do to get the same string on my .ascx file ? Tried this:
<%# $Resources:MyLabel,MyFeature %>
and also didn't work
Any clues ?