Refresh localized texts of a page in runtime

I'm developing an Windows Store app which is used by personnel who speak different languages. Typical scenario:
A user logs into my app and and his language is determined and app shows texts in his language. Then when his session is finished another user logs in. His language may be different so I change the app culture in runtime using following code:
ApplicationLanguages.PrimaryLanguageOverride = cultureName;
ResourceContext.GetForCurrentView().Reset();
ResourceContext.GetForViewIndependentUse().Reset();
ResourceManager.Current.DefaultContext.Reset();
The problem is that pages opened by previous user aren't get translated whereas pages that weren't opened by previous user are translated when second users opens them. As a workaround, second user can restart the app and then all pages got translated. I
was thinking about showing a message to user asking him to restart the app if he wants to see translated texts, however the certification requirements state that: "Your app must neither programmatically close
nor offer UI affordances to close it. Windows 8 Process Lifetime Management closes Windows Store apps automatically."
How can I resolve that issue?

i assume you use x:uid for the translations in the UI? you need to reload the page to get this fixed.
Microsoft Certified Solutions Developer - Windows Store Apps Using C#

Similar Messages

  • TS3899 I am unable to access my mail account. I press the mail icon, the page refreshes to the mail format page - blue bar top and bottom, white text space in the middle.... and that is as far as it goes. It does not list my email accounts or offer any.

    I am unable to access my mail account on my iphone, which I have been able to do previously. I press the mail icon, the page refreshes to the mail format page - blue bar top and bottom, white text space in the middle.... and that is as far as it goes. It does not list my email accounts or offer any.

    Close the mail app, double tap the home button and completely close out of the app.
    then do a reset, no data loss.  Hold down the home/sleep button together until you see the apple logo and then release, then wait for the phone to boot back up.

  • The text on web pages fades as you scroll the page, it reapears if you click refresh or move the mouse arrow over it. I reset FF still doing it.

    The text on web pages fades as you scroll the page, it reappears if you click refresh or move the mouse arrow over it.
    I went to many different web pages and it does it on all of them including this one.
    I went to the same web pages using IE 10 and the text does not fade away.
    I reset FF still doing it. I uninstalled and reinstalled FF still doing it.
    What could be wrong?

    Hello,
    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back to us!
    Thank you.

  • How to display Japanese Text in web page?

    Hi,
    I am trying to get this i18n stuff right for a few days but don't seem to find all answers.
    I am using Sybase databse to store Japanese characters. A perl script inserts the chars in table. Then I use a test JSP program to display the chars.
    <%@ page contentType="text/html; charset=UTF-8" %>
    <%@ page language="java" %>
    <%@ page import="java.io.*" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="javax.sql.*" %>
    <%@ page import="javax.servlet.*" %>
    <%@ page import="javax.servlet.http.*" %>
    <%@ page import="javax.naming.InitialContext" %>
    <%@ page import="java.text.SimpleDateFormat" %>
    <html>
    <head><title>testing for utf string</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </head>
    <body>
    <%
    Connection conn = null;
    Statement stmt = null;
    ResultSet rs = null;
    try{
            InitialContext context = new InitialContext();
            DataSource ds = (DataSource) context.lookup(System.getProperty("TESTDS"));
            conn = ds.getConnection();
            stmt = conn.createStatement();
            rs = stmt.executeQuery("select comment from TestTable");
            while(rs.next()){
                    out.println("<br>");
                    out.println("the comment is : <Textarea Cols=\"90\" Rows=\"5\" Name=\"Comment\">"+rs.getString(1)+"</Textarea>");
                    out.println("<br>");
                    out.println("the comment is "+rs.getString(1));
    }catch(Exception e){
            e.printStackTrace();
    }finally{
            try{
            if(rs != null) {rs.close();}
            if(stmt != null) {stmt.close();}
            if(conn != null) {conn.close();}
            }catch(Exception e){}
    %>
    </body>
    </html>But the page does not display correctly. If I change the charset as JIS, then it seems to work. But my web page will be having chars from multiple language and I think utf-8 is the right charset for that.
    Any pointers?
    Thanks

    What JSP/Servlet server are you using and what version?
    Try this just for debugging:
    Remove the rs.getString(1) from the out.println() call. Just assign the returned value to a local String variable and display the variable using (I hope I'm remembering correctly) this:
    <%= myVariable %>
    I'm curious whether directly inserting the text into the page is somehow different from sending it via out.println.
    Regards,
    John O'Conner

  • My facebook page will not load properly just shows the text headings on page no graphics like there should be.

    My facebook page will not load properly just shows the text headings on page no graphics like there should be.

    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I have been sent a 'word document' in which are a series of boxes about thirty lines long to insure written text. When Pages opens the document it extends these to a whole A4 page how do I get it to retain the original layout

    I have been sent a 'word document' in which are a series of boxes about thirty lines long to insert written text. When Pages opens the document it extends these to a whole A4 page how do I get it to retain the original layout

    You can't change the way Pages import .doc files.
    It was never written that it reproduce exactly the original one.
    From my point of view, as I refuse to give a cent to M...soft, the best way to deal with documents issued by their Office suite is to use the free libreOffice.
    Yvan KOENIG (VALLAURIS, France) jeudi 7 juillet 2011 11:34:19 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How to link text-boxes in Pages 5.2?

    How do you link text-boxes in Pages 5.2?

    Thank you for your help; it is appreciated. I suspected that, but am still disappointed. I am finding myself getting more and more disenchanted with Apple products in the past few years. I've been a faithful fan, user and promoter since the 1980s, but I am starting to seriously doubt their competency in the past few years with the Pages 5 version as well as what iOS7 continues to do to my iPhone (as my prime examples). Instead of enhancing my life and work, Apple is beginning to waste my time -- a lot of it! Perhaps it is time for a change.... I don't want to, but I am starting to look for other alternatives.

  • How to link text frames in Pages 5.2?

    How to link text frames in Pages 5.2?

    The correct term in Pages is Text Boxes, and true linking is not implemented in v5.2. You can Unite, Intersect, Subtract, and Exclude multiple Text Boxes via the Arrange panel. These attributes only appear when two or more Text Boxes are selected. Also, on the Arrange menu, you will need Object Placement set to Move with Text, and the Text Wrap set to None for more accurate positioning.
    In the following example, there was initially a Text Box with overflowing text that was duplicated. With both Text Boxes selected and aligned, I could then use the Unite feature from the Arrange panel. This allowed the text to flow into the second box. Selecting text in one box and dragging upwards continues the text selection between both boxes. Hoefler italic applied in one box is applied to both. Appropriately placed, another trip to the Arrange panel to enable Text Wrap around and text fit adjustments.

  • I am trying to highlight text on multiple pages, but Adobe will not autoscroll via cursor.

    I am trying to highlight text on multiple pages, but when I select the text and bring the cursor to the bottom of the screen Adobe does not advance the document. How do I make it so I can highlight from page to page without having to release the mouse button?
    Also, how do I get adobe to realize that there is a header and footer on each page, but the actual text in the file is in two columes. Is there a way to make this clear and embade it in the document so other programs recognize this too?

    Regarding your first question, change the view to Single Page Continuous.

  • I cant copy/paste from an article to my web site, get a Mozilla Rich Text Editing demo page will not work.HELP

    Tried to copy/paste from an article to my web site and got a "cannot copy /paste " warning and was directed to a security perferences site that said that Mozilla Rich Text Editing demo page will not work.
    Tried to find my Firefox profile directory using the start menu and was directed to hit enter to go to web. Feel like i am getting run around.

    Let's start with something very basic, and that is, you do not need to use the paste button on most websites. The button just reads what is on your clipboard and sticks it into the form. You can do that yourself using Ctrl+v or right-click>Paste.
    For your security, I suggest using those standard Windows keyboard shortcuts (Ctrl+x cut, Ctrl+c copy, Ctrl+v paste) or the context menu.
    Occasionally you will find a paste button that runs a clean-up script or otherwise does something useful. That is where the (admittedly a bit complicated) instructions come in handy.
    To open your active profile folder, you can use:
    Help > Troubleshooting Information > "Show Folder" button
    Which help article are you using for the modifications?
    Finally, please be cautious in opening up your clipboard to sites. You may have stuff you copied from other pages or other programs that you do not want to share with most sites.

  • How to flow text across multiple pages in 9

    My form is lengthy, and one Master Page section will be text with no form fields, but the text is 10+ pages, depending on the version of terms and conditions provided.  In this link, http://forums.adobe.com/message/5112687, there is much discussion on how to accomplish in 8.2, but how would I accomplish in 9?  I would like to be able to paste the 10+ pages and have it automatically flow for that Master Page section. Have tried placing a text field and also tried a text into a flowable subform, setting it to multiple lines, keep with next, but just not sure how to set it up properly.  I can see the plus sign at the bottom of the text box, but when I preview, it does not flow to the other pages.  Was hoping to avoid setting up 10+ pages in the form, as from time to time these terms/conditions are updated, and it would be much faster to just be able to copy/paste from Word into a properly set up text field or subform.  Hope this makes sense, and appreciate any advice, thank you.

    Get your text from Word (or wherever you'd like to edit the text so that it looks right).
    Open a LiveCycle document (a new one if you're starting from scratch, anyway)
    Select your page1 subform, set content to Flowed (Allow page breaks should set automatically).
    Add a text field (make sure it's listed as a part of that page1 subform).
    Change the text field's caption position to none and make sure Allow multiple lines is checked (as well as allow page breaks). Set height to auto expand
    click on the default value for the text field. Paste that 9-page document inside.
    Wait a few seconds (or minutes) for LiveCycle to catch up.
    Preview and enjoy your new document with several pages automatically paginated for you.

  • Master Text Frame for Page Heading

    Hello, I am new to indesign and using CS4.  Sorry if this is a newbie question.
    I am creating a pdf digital presentation and laying it out.  I want to create a consistent header on each page in the top left corner and ensure it is in the exact same location on each page.  I also want to make sure the text size, font, and color is consistent on each page.  Most importantly, if I need to change anything, lets say a font, I want to only do it in one place and not do it on all 20 pages in my document.
    My understanding is to add a text frame to the master page.  However, how do I edit the text on each page and not have it show on my cover page which is page 1 of my document?
    Thanks!!!!

    Create a text frame on the master page (make it wide enough and deep enough for the longest heading)
    Insert some generic text like "Heading"
    Give it a paragraph style
    Adjust the paragraph style to your liking
    Go to each page you want to change, and CTRL SHIFT (cmd shift on mac) and double click the "Heading"
    Change the text to what you want it to look like.
    To alter the text colour/font etc. for all of them - adjust the paragraph style
    To edit the text style for each heading so they look different in terms of colour etc. -  just change the Character Colour via the swatches.
    if you do this, then any changes to the Paragraph style should follow through on all pages - except where you've perhaps changed the character colour (or any other hand-adjusted changes to the text.
    Also - if you move the Text Frame on the master page they should all move on the corresponding pages, provided you haven't moved them by hand on the actual pages.

  • How can I import text produced in Pages into Adobe inDesign?

    How can I import text produced in Pages into Adobe inDesign?

    Menu > File > Export > Word .doc/x
    I doubt it will do graphics and layout, but maybe, depending on your version of Indesign you may hit lucky (but probably not).
    Peter

  • How do I turn off text box in pages?

    how do I turn off text box in pages?

    Thank you Peter and Jerry.
    Screen shot above. I know it's not much, but there it is.
    In actual fact I can make the text box bigger, but I just want to have the option of not having a text box.
    It should be simple, and not actually need a screen shot: just simple instructions. It seems pretty fundamental to me.  Does anyone know how to do this?
    Best, Angela

  • How do I remove text boxes from Pages

    I have an awful time with Pages on my lap top.  I am used to Appleworks  6.2 on my older desktop (PowerMac G4 / OS 10.4.11).  If I specify a US letter page I get that in Appleworks, it  is then 8.1/2" x 11", without running into pre-existing formats or other similar distractions. I can immediately type a neat business letter.
    Not with Pages.  On my MacBookAir, with Pages 4.3 and OS 10.8.4, I can type alright, but when I want to print what I typed, only a small part of what I typed shows up in in Print Preview of my typed page.  After a bit of backtracking,  I notice a blue-lined rectangle on my typed page containing the portion of my typing that appeared in that Print Preview.  It is apparently a self-formed "text box", that was not a part of my blank template page and was not inserted by me while or just before I typed.
    I did not find any way to delete the edges of that text box. The "delete" option under the pull down edit menu is blanked out.  If I click on the "Text box " symbol in the menu bar it does not let me switch off the text box, but instead gives me another text box inside the first one!  I suppose this is to allow user to print only a single keyboard stroke of the entire letter.  The "Inspector" seems to have no options to set text boxes.
    Pages "Help" Menu has nothing of how to delete a text box, or how to prevent it in the first place from screwing up what you have typed in such manner that it becomes unprintable.
    Similarly a small rectangular box formed on both the top and the bottom of each page (which could be a space reserved for a header or footer), but again I do not use these on my business letters, and they appear self-formed by Pages, and I would like to know how to prevent them, or delete them.
    In other words I like to get a blank page to start with, which will only set up and type what "I, THE  USER" enter on my keyboard. 
    Can anybody tell me how to this with Pages? 
    (PS. I can do it with even with Thunderbird !)

    1. Open a blank Word Processing template (they are listed in the Template Chooser sidebar), you have opened a Layout template that requires Textboxes for you to type into.
    2. To select a Textbox hold down the command key and click on its edge or lassoo it, then hit delete.
    3. If you don't want Headers or Footers, uncheck them in the Document Inspector
    4. Download the Pages09_UserGUide.pdf from under the Help menu and familiarise yourself with Pages' basics. Also look around your Menus and Inspectors which are laid out logically from left to right from broad to details.
    I suggest you click inside your textbox first go command a and copy the contents before you delete it and then paste that into a new Word Processing template.
    Peter

Maybe you are looking for

  • When clicking a link I would like it to always open in a new tab.

    When clicking a link I would like it to always open in a new tab.

  • Dialog help please

    When i press the calculate button it will calculate a price depending on the options chosen and show the results in an OptionDialog. I need help with the two buttons (New Quote and Close), I want it so that if i press New Quote it will return to the

  • LEGACY TO IDOC

    •     Legacy to SAP interface: Developed the Interface in XI where in (Legacy) is sending invoice data to SAP. Using File/idoc adapters Here, the actual content of the invoice data is in the text format for which I have to send it to SAP system so I

  • CX_RSR_X_MESSAGE with 80SD_O01 standard

    Hi Everyone, I am running RSA3 transaction in BW system (7.02) to check 80SD_O01 extractor, this one will be used for moving data from 0SD_O01 to 0SD_O03. When I ran the extractor checker, the system dumps UNCAUGHT_EXCEPTION, CX_RSR_X_MESSAGE, SAPLRR

  • Speech english(India) not working properly

    In my Lumia 625 speech English(India) not working properly. Please help for the sake of respect of Lumia smartphones.