Answered by:
Cannot edit pages in Windows Store Apps file Hubpage.xaml

Question
-
I am new to designing Windows Store Apps. I am new to the API. I realize that it is a new technology and that there is a learning curve. I was following one of the examples and created a simple Hub App. The problem is that as I replace the latin in the Hub Section and the text blocks it doesn't show up when I Deploy it. Where can I go to get info or how can I know why the changes aren't being reflected when I look at the deployed example. I followed the Hello World example all the way to the end and the desired results were achieved. But with my new test app nothing is able to be changed.
Example:
<TextBlock Style="{StaticResource SubheaderTextBlockStyle}" Grid.Row="1" Margin="0,10,0,0" TextWrapping="Wrap" x:Uid="Section1Subtitle" Text="Company Name"/> <TextBlock Style="{StaticResource TitleTextBlockStyle}" Grid.Row="2" Margin="0,10,0,0" x:Uid="DescriptionHeader" Text="Description text:"/> <TextBlock Style="{StaticResource BodyTextBlockStyle}" Grid.Row="3" x:Uid="Section1DescriptionText" Text="Billing over the last 7 days"/>
I have changed this section countless times, but the deployed output still shows the Latin default that was there before. I know this solution might be super simple and my knowledge is completely elementary of the new technology, but can someone assist me along my way?- Edited by TryingHarder Friday, January 3, 2014 4:55 PM
Friday, January 3, 2014 4:54 PM
Answers
-
A better solution is to update the items in the resw file rather than to remove localization support from the app.
--Rob
- Marked as answer by TryingHarder Friday, January 3, 2014 11:39 PM
Friday, January 3, 2014 10:50 PMModerator
All replies
-
I'm not on a dev machine and can't look at the sample right now, but check if it is pulling localized strings from the resource file. See Quickstart: Translating UI resources for more details.
Friday, January 3, 2014 5:04 PMModerator -
I got it. Thank you for guiding me in the right direction. I don't think that this behavior is described in the documentation. The behavior that: you can put default values for the different sections, headings, Titles and subtitles and that they would not overridden by changes you make to the XAML file.
When you delete the appropriate section from the resw file you can then make changes to in the designer that will be reflected when you Deploy.
- Marked as answer by TryingHarder Friday, January 3, 2014 10:47 PM
- Unmarked as answer by Rob Caplan [MSFT]Microsoft employee, Moderator Friday, January 3, 2014 10:50 PM
Friday, January 3, 2014 10:47 PM -
A better solution is to update the items in the resw file rather than to remove localization support from the app.
--Rob
- Marked as answer by TryingHarder Friday, January 3, 2014 11:39 PM
Friday, January 3, 2014 10:50 PMModerator -
I see the behaviors you describe as definitively better. I was just making a comment about the discoverability of the proper behavior as described in the Microsoft samples and descriptions available to date. I understand the overall logic and why its better to update the items in the resw file.
Thank You for your Time
R. Barrett
Technical Mgr
Friday, January 3, 2014 11:43 PM