title: Localization html static text
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6017960/asp-net-globalization-difference-in-inline-tags">asp.net globalization difference in inline tags</a>  </p>
  </blockquote>
  
  
  
  <p>I read on MSDN about localization of static text and Localize control but I still don't understand: how should I localize for example a html table's static text?</p>
  
  <pre><code>&lt;table&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;%=Resources.Resource1.String1 %&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;%=Resources.Resource1.String2 %&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;table&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;asp:Localize ID="Column1" runat="server" Text="&lt;%$ Resources: Resource1, String1 %&gt;" /&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;asp:Localize ID="Column2" runat="server" Text="&lt;%$ Resources: Resource1, String2 %&gt;" /&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>The first is obviously is more readable and I don't need to change translations on runtime. Maybe it has some disadvantages vs second? I'm sorry for my stupid question but I want to be sure that way which I'll select will be more preferable and maintainable.</p>