O'Reilly logo

Mastering Dart by Sergey Akopkokhyants

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Internationalizing your web application

Let's see an example of how we can internationalize a standard web application. To do so, we will create a simple web application in Dart Editor, designed the registration form, and embedded it inside the body of an index.html file. The code is as follows:

<h1>Registration Form</h1> <form> <table> <tr> <td><label for="firstName">First Name:</label></td> <td><input type="text" id="firstName" name="firstName"></td> </tr> <tr> <td><label for="lastName">Last Name:</label></td> <td><input type="text" id="lastName" name="lastName"></td> </tr> <tr> <td><label>Gender:</label></td> <td> <input type="radio" name="sex" value="male"> <span>Male</span> <input type="radio" name="sex" value="female"> <span>Female</span> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required