Documentation

Management

Translate Microsoft .aspx files

Microsoft .aspx files are .NET template files containing HTML markup, so WebTranslateIt parses them as HTML documents rather than as key-value resources. 1 min read

What are .aspx files?

Aspx files are files used to localize Microsoft .NET applications. Their file extensions are .aspx.

Aspx files are template files that containg HTML markup. Therefore it will be handled like a HTML document by WebTranslateIt.

.aspx file example

html
<!-- directives -->
<%% @Page Language="C#" %>

<!-- code section -->
<script runat="server">

   private void convertoupper(object sender, EventArgs e)
   {
      string str = mytext.Value;
      changed_text.InnerHtml = str.ToUpper();
   }
</script>

<!-- Layout -->
<html>
   <head>
      <title> Change to Upper Case </title>
   </head>

   <body>
      <h3> Conversion to Upper Case </h3>

      <form runat="server">
         <input runat="server" id="mytext" type="text" />
         <input runat="server" id="button1" type="submit" value="Enter..." OnServerClick="convertoupper"/>

         <hr />
         <h3> Results: </h3>
         <span runat="server" id="changed_text" />
      </form>

   </body>

</html>