June 2017
Intermediate to advanced
873 pages
18h 9m
English
What if you want your web app to display information in several languages, depending on the language of the web client user? This recipe will show you how to accomplish this. You can find the code in the project pol_intl.
intl package from the pub package to your app through pubspec.yaml.web\pol_intl.html, where a component with the name localized_text is imported through the following line:<link rel="import"href="localized_text.html">
From this, we know that the component is defined in localized_text.html, and the code behind it is in a file named localized_text.dart. For a discussion of the other tags, see the first recipe.
Read now
Unlock full access