locked
localize flyout

    Question

  • Hi everybody,

    i have implemented a menu that calls a flyout. It is possible to lokalize the flyout?

    Here is the code from the flyout?

    I hope everone can help me. I can not see my Problem.

    <!DOCTYPE html>
    <html>
    <head>
        <title>Settings Flyout</title>
        <link href="//Microsoft.WinJS.1.0/css/ui-light.css" rel="stylesheet" />
        <script src="//Microsoft.WinJS.1.0/js/base.js"></script>
        <script src="//Microsoft.WinJS.1.0/js/ui.js"></script>
        <script type="text/javascript">
            WinJS.Application.onloaded = function () {
                                                        WinJS.Resources.processAll();
            }
        </script>
        <link href="privacy.css" rel="stylesheet" />
        <script src="privacy.js"></script>
    </head>
    <body>
        <!-- BEGINSETTINGSFLYOUT -->
        <div data-win-control="WinJS.UI.SettingsFlyout"
             id="privacypolicytext"
             data-win-options="{settingsCommandId:'privacyPolicy', width:'narrow'}">
    
            <div class="win-ui-dark win-header">
                <button type="button" onclick="WinJS.UI.SettingsFlyout.show()" class="win-backbutton"></button>
                <div class="win-label" data-win-res="{label: 'PrivacyPolicy'}" ></div>
            </div>
            <div class="win-content">
                <p data-win-res="{innerText: 'PrivacyPolicy'}"></p>
            </div>
        </div>
        <!-- ENDSETTINGSFLYOUT -->
    </body>
    </html>


    Wednesday, July 09, 2014 9:50 PM

Answers

  • Hi du_engel,

    Yes, of course, there is a win8 sample for customize the setting flyout, you can download it via: http://code.msdn.microsoft.com/windowsapps/Windows-8-app-samples-4d76cbbf, find a sample named App settings sample (Windows 8), you should be able to see how to localize the flyout.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Thursday, July 17, 2014 1:58 AM
    Moderator