Note that there are some explanatory texts on larger screens.

plurals
  1. POWhat happens if the namespace declaration (xmlns) goes off?
    primarykey
    data
    text
    <p><strong>Note before reading</strong>: This is a general question, that I chose to ask about a specific extension, but the answer should be the same... I guess.</p> <p>I've started to implement localization in my project, and I'm using the <code>WPF Localization Extension</code> lib, but I have a few questions:</p> <p>In order for the lib to work, it's is required to add this definition to every xaml page:<br> <code>xmlns:lex="http://wpflocalizeextension.codeplex.com"</code></p> <p>And I have 2 questions regarding that:<br> 1. What if the URL goes off, for some unknown reason? Will my application just lose all of the extension's functionality? Is there an option to someone avoid using the url, and instead using some local file or something...?<br> 2. I'm using calibrun.micro, and obviously my application has a few pages, and they're all embedded within the <code>ShellView.xaml</code> page through a <code>ContentControl</code>. Is there an option to write the namespace declarations (xmlns:lex, etc... - see code below) in just the shellview and have it affect all of the other pages automatically? It sounds really inefficient to have to specify the declarations in each single xaml page.</p> <p><strong>Extra Info:</strong> </p> <p>Extension page: <a href="http://wpflocalizeextension.codeplex.com/" rel="nofollow">http://wpflocalizeextension.codeplex.com/</a><br> Namespace declarations/definitions: </p> <pre><code> xmlns:lex="http://wpflocalizeextension.codeplex.com" lex:LocalizeDictionary.DesignCulture="en" lex:ResxLocalizationProvider.DefaultAssembly="WpfApplication3" lex:ResxLocalizationProvider.DefaultDictionary="Strings" </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload